Search found 9427 matches

by Sergey Tkachenko
Tue May 21, 2024 8:43 pm
Forum: Support
Topic: A way to make RichViewEdit almost work like a TMemo?
Replies: 1
Views: 450

Re: A way to make RichViewEdit almost work like a TMemo?

See https://www.trichview.com/forums/viewtopic.php?t=22
This topic explains how to prevent formatted text from insertion via the Clipboard or drag&drop.
However, TRichView does not have special fast plain text mode.
by Sergey Tkachenko
Tue May 21, 2024 8:38 pm
Forum: Support
Topic: TRVMathItemInfo.TextColor problem on existing objects
Replies: 1
Views: 698

Re: TRVMathItemInfo.TextColor problem on existing objects

I confirm the problem. A new color is assigned to the equation item, but is not applied until you make changes that may affect the equation size (such as changing an equation text or a font size). I fixed it, it will be included in the next update. If you need, I can send a changed unit to you by em...
by Sergey Tkachenko
Tue May 21, 2024 8:36 pm
Forum: Support
Topic: Hyperlink not Hyperlinks
Replies: 1
Views: 8

Re: Hyperlink not Hyperlinks

TRichView document can have any count of hyperlinks, in any version of TRichView.
What problems do you have with several hyperlinks?
by Sergey Tkachenko
Sun May 19, 2024 6:54 pm
Forum: Support
Topic: Can I get the coordinate after I draw the content to a multiple columns' canvas?
Replies: 2
Views: 63

Re: Can I get the coordinate after I draw the content to a multiple columns' canvas?

Obviously, you need to add coordinates of the top left corner of the page to the checkpoint coordinates from the event.
How to get top left page coordinates, depends on the way you choose for drawing pages.
by Sergey Tkachenko
Sun May 19, 2024 6:52 pm
Forum: Support
Topic: Export pdf or print rvf with 2 columns on a A3 landscape paper
Replies: 8
Views: 317

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

Our components do not allow to define table height in percent. So, probably, using TSRichViewEdit makes sense, because you can define size of table on a page in WYSIWYG mode. But if you use TSRichViewEdit, I recommend using ScaleRichView's procedures for printing and drawing pages, and do not use TR...
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: 8
Views: 317

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: 8
Views: 317

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: 8
Views: 317

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

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

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

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

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

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

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.