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.
Search found 9424 matches
- 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: 58
- 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: 308
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...
- 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: 308
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...
- 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: 308
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.
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.
- 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: 308
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...
- Thu May 16, 2024 8:48 pm
- Forum: Support
- Topic: How to get natural paragraph content?
- Replies: 2
- Views: 147
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...
- Tue May 14, 2024 7:56 pm
- Forum: ScaleRichView
- Topic: text at specific position
- Replies: 3
- Views: 538
Re: text at specific position
InsertTextAt is a procedure that I posted here, in the first code fragment. See my previous answer.
- Tue May 14, 2024 7:53 pm
- Forum: Support
- Topic: Component for RichTextEdit + Buttons
- Replies: 1
- Views: 198
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...
- Fri May 10, 2024 8:34 am
- Forum: ScaleRichView
- Topic: text at specific position
- Replies: 3
- Views: 538
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...
- Sat May 04, 2024 10:02 pm
- Forum: Report Workshop
- Topic: Implementation request
- Replies: 4
- Views: 43144
Re: Implementation request
Added in TRichView 21.7: https://www.trichview.com/forums/viewto ... 490#p43490
- Sat May 04, 2024 9:59 pm
- Forum: Report Workshop
- Topic: TRVItemList object range is 0..0
- Replies: 3
- Views: 47266
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...
- Wed May 01, 2024 4:03 pm
- Forum: Examples, Demos
- Topic: Running compiled demo gives error
- Replies: 3
- Views: 850
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.
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.
- Tue Apr 30, 2024 1:08 pm
- Forum: Examples, Demos
- Topic: Running compiled demo gives error
- Replies: 3
- Views: 850
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?
I thought that I included this Dll for all demos compiled with Skia4Delphi. What demo shows this error?
- Wed Apr 24, 2024 6:05 pm
- Forum: Examples, Demos
- Topic: [Example] How to display a placeholder text for empty editor
- Replies: 3
- Views: 107499
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...
- Wed Apr 24, 2024 10:31 am
- Forum: Support
- Topic: Skia with latest richview and delphi 10.3
- Replies: 2
- Views: 1172
Re: Skia with latest richview and delphi 10.3
Yes, all Windows programs that use Skia4Delphi require this DLL.