AFAIK, virtual constructors do not work in the way you expect.
Yes, TRVGraphicItemInfo.CreateEx calls inherited Create(ARVData), i.e. constructor TRVRectItemInfo.Create(ARVData: TPersistent), which is virtual.
However, even if you override this constructor in your class, TRVGraphicItemInfo.CreateEx ...
Search found 9808 matches
- Sun Jan 04, 2026 11:49 am
- Forum: Support
- Topic: Create constructor never called in the TRVGraphicItemInfo descendants
- Replies: 2
- Views: 41
- Sun Jan 04, 2026 11:22 am
- Forum: Support
- Topic: Coordinates of the object on the page, if it is in the table
- Replies: 3
- Views: 45
Re: Coordinates of the object on the page, if it is in the table
For any case, see the ScaleRichView demos in Demos\Delphi\CustomDraw\Rectangles\
This folder has demos that draw rectangles:
- around all items
- around the item below the mouse pointer
- around the item containing the caret
This folder has demos that draw rectangles:
- around all items
- around the item below the mouse pointer
- around the item containing the caret
- Tue Dec 30, 2025 12:29 pm
- Forum: Support
- Topic: Control the width of table columns programmatically
- Replies: 5
- Views: 6748
Re: Control the width of table columns programmatically
I confirm the problem.
It will be fixed in the next update.
As a workaround, call ALabel.UpdateMe immediately after changing ALabel.Text.
It will be fixed in the next update.
As a workaround, call ALabel.UpdateMe immediately after changing ALabel.Text.
- Tue Dec 30, 2025 12:03 pm
- Forum: Support
- Topic: Pasted text from docx does not display correctly in RichViewEdit
- Replies: 1
- Views: 190
Re: Pasted text from docx does not display correctly in RichViewEdit
I confirm the problem.
This is a drawing issue: the text is stored as not bold, but displayed as bold.
And I'm afraid I don't know how to fix this.
As I understand it, this is a result of font auto-substitution. The document uses the font 'Aptos', which is not available to non-Microsoft ...
This is a drawing issue: the text is stored as not bold, but displayed as bold.
And I'm afraid I don't know how to fix this.
As I understand it, this is a result of font auto-substitution. The document uses the font 'Aptos', which is not available to non-Microsoft ...
- Sat Dec 27, 2025 12:03 pm
- Forum: Support
- Topic: Control the width of table columns programmatically
- Replies: 5
- Views: 6748
Re: Control the width of table columns programmatically
In order to help, I need to know how you change content size in code.
Please send me a code fragment or (better) a simple project reproducing the problem.
Please send me a code fragment or (better) a simple project reproducing the problem.
- Sat Dec 13, 2025 6:14 pm
- Forum: Support
- Topic: Plain text for Word Count
- Replies: 2
- Views: 1098
Re: Plain text for Word Count
See this topic for functions for calculating word count: https://www.trichview.com/forums/viewtopic.php?t=13
As for plain text, there are several methods.
For this task, the best function is RVGetTextRange(rv, 0, RVGetTextLength(rv)) from RVLinear unit, see https://www.trichview.com/help/idh ...
As for plain text, there are several methods.
For this task, the best function is RVGetTextRange(rv, 0, RVGetTextLength(rv)) from RVLinear unit, see https://www.trichview.com/help/idh ...
- Wed Dec 10, 2025 11:19 am
- Forum: RVMedia
- Topic: fmxMRVCamView in "uses" section -> IDE crash
- Replies: 6
- Views: 15596
Re: fmxMRVCamView in "uses" section -> IDE crash
I've installed Delphi 13 and RVMedia trial on Win11 computer, but still cannot reproduce this problem.
Probably it is caused by incompatibility with some third-party library.
I have an idea to test; details are in the private message.
Probably it is caused by incompatibility with some third-party library.
I have an idea to test; details are in the private message.
- Tue Dec 09, 2025 4:59 pm
- Forum: RVMedia
- Topic: fmxMRVCamView in "uses" section -> IDE crash
- Replies: 6
- Views: 15596
Re: fmxMRVCamView in "uses" section -> IDE crash
I'll check it later in this week - I'll need to install Delphi 13 on Windows 11 computer.
Does this problem happen only when debugging in IDE?
(I was not able to reproduce problem on RVMedia applications running on Windows 11 without IDE).
Does this problem happen only when debugging in IDE?
(I was not able to reproduce problem on RVMedia applications running on Windows 11 without IDE).
- Mon Dec 08, 2025 10:55 am
- Forum: RVMedia
- Topic: fmxMRVCamView in "uses" section -> IDE crash
- Replies: 6
- Views: 15596
Re: fmxMRVCamView in "uses" section -> IDE crash
Can it be reproduced on RVMedia demos, without using other third-party components? Specifically, without JclDebug.
I still use Windows 10 as a primary development computer. But I just tested Cameras\CamList demo compiled using the FMX trial version of RVMedia on Windows 11 com, and the demo runs ...
I still use Windows 10 as a primary development computer. But I just tested Cameras\CamList demo compiled using the FMX trial version of RVMedia on Windows 11 com, and the demo runs ...
- Sun Dec 07, 2025 10:37 am
- Forum: Support
- Topic: TrvActionFind/TrvActionReplace Localization
- Replies: 2
- Views: 2945
Re: TrvActionFind/TrvActionReplace Localization
The dialog boxes for these actions have never been localized. They use the system find and replace dialogs, which are displayed in the language set in Windows.
Similarly, the actions for printing, opening, and saving files use system dialogs.
I have a plan to replace the system find, replace, and ...
Similarly, the actions for printing, opening, and saving files use system dialogs.
I have a plan to replace the system find, replace, and ...
Re: HunSpell
1) If you do not use RichViewActions, do not use RVAHunSpellInterface1. The form will be shown with default (English) messages.
2) If you use RichViewActions, create TRVAControlPanel component and assign RVAHunSpellInterface1 to its SpellInterface property.
The simplest solution: use ...
2) If you use RichViewActions, create TRVAControlPanel component and assign RVAHunSpellInterface1 to its SpellInterface property.
The simplest solution: use ...
- Thu Dec 04, 2025 8:17 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 3864
Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under
Sorry, I do not see errors in this code.
- Wed Dec 03, 2025 7:42 pm
- Forum: Support
- Topic: Nested Table
- Replies: 16
- Views: 3745
Re: Nested Table
I do not understand the line
f (GetNestingLevel(memo)> 1) and (HasTable(rve.TopLevelEditor)) then itemno:= 4;
It assumes that the table is always the 4th item in a cell (counting from 0).
I think this line must be deleted.
Ich verstehe die Zeile nicht:
f (GetNestingLevel(memo)> 1) and ...
f (GetNestingLevel(memo)> 1) and (HasTable(rve.TopLevelEditor)) then itemno:= 4;
It assumes that the table is always the 4th item in a cell (counting from 0).
I think this line must be deleted.
Ich verstehe die Zeile nicht:
f (GetNestingLevel(memo)> 1) and ...
- Wed Dec 03, 2025 12:53 pm
- Forum: Support
- Topic: Nested Table
- Replies: 16
- Views: 3745
Re: Nested Table
If you delete all rows (or all columns) of the table, the resulting table will have 0 rows and 0 columns. It is by design.
To avoid this situation, check if the all rows/columns are deleted. If all of them, then, instead of deleting rows/columns, delete the whole table.
See the code in Editor 1 demo ...
To avoid this situation, check if the all rows/columns are deleted. If all of them, then, instead of deleting rows/columns, delete the whole table.
See the code in Editor 1 demo ...
- Wed Dec 03, 2025 12:42 pm
- Forum: Support
- Topic: Developer Express AI-Powered Extensions for VCL
- Replies: 3
- Views: 1757
Re: Developer Express AI-Powered Extensions for VCL
I've done some research and don't think DevExpress components are necessary for implementing an AI assistant in RichViewActions. I think it's more promising to use SmartCore components by Embarcadero for AI queries and implement the assistant myself. I'll work on this next year.