Search found 68 matches
- Sat Aug 29, 2026 6:36 pm
- Forum: Support
- Topic: Copying a selected rectangle from one table to another, cell by cell
- Replies: 1
- Views: 4151
Re: Copying a selected rectangle from one table to another, cell by cell
hello community, any updates?
- Wed Aug 12, 2026 9:17 am
- Forum: Support
- Topic: Copying a selected rectangle from one table to another, cell by cell
- Replies: 1
- Views: 4151
Copying a selected rectangle from one table to another, cell by cell
Hi, I'm trying to make it so that copied table cells are inserted into the destination table not as a single embedded table, but into their respective locations (as intuition would suggest). My code works, but the problem is with Undo/Redo. I understand that using "InsertRVFFromStream" for a cell ...
- Sun Jan 04, 2026 2:16 pm
- Forum: Support
- Topic: Create constructor never called in the TRVGraphicItemInfo descendants
- Replies: 2
- Views: 20278
Re: Create constructor never called in the TRVGraphicItemInfo descendants
Yes, I am currently overriding both constructors. This issue is more about expected behavior: the Create constructor is usually interpreted as the main one, responsible for initializing all fields. All other constructors are interpreted as secondary (CreateEx). In my opinion, it would be logical to ...
- Sun Jan 04, 2026 9:42 am
- Forum: Support
- Topic: Coordinates of the object on the page, if it is in the table
- Replies: 3
- Views: 22184
Re: Coordinates of the object on the page, if it is in the table
I don't use the SRVE, but maybe you have to reference the TopLevelEditor? I have to do that with the regular rve to handle table stuff, e.g., rve.TopLevelEditor...
Hi Stan, you're right. The key is in the correct RVData. I changed the linear text loop to a recursive table loop, and now the ...
- Sat Jan 03, 2026 6:27 pm
- Forum: Support
- Topic: Coordinates of the object on the page, if it is in the table
- Replies: 3
- Views: 22184
Coordinates of the object on the page, if it is in the table
I have a question about the coordinates of the TCustomRVItemInfo object on the page. I need to draw a graphic primitive next to the object. Everything works fine, but if the object is in a table, the approach failed. Here is a part of a code:
procedure TEditor.SRVEditPaint(Sender: TSRichViewEdit ...
procedure TEditor.SRVEditPaint(Sender: TSRichViewEdit ...
- Sat Jan 03, 2026 4:19 pm
- Forum: Support
- Topic: Create constructor never called in the TRVGraphicItemInfo descendants
- Replies: 2
- Views: 20278
Create constructor never called in the TRVGraphicItemInfo descendants
I have the following problem. I am creating a descendant of TRVGraphicItemInfo using CreateEx constructor, but the overridden Create constructor is never called. As a result, I cannot initialize additional properties:
TRVChartItemInfo = class(TRVGraphicItemInfo);
constructor TRVChartItemInfo ...
TRVChartItemInfo = class(TRVGraphicItemInfo);
constructor TRVChartItemInfo ...
- Tue Dec 30, 2025 5:30 pm
- Forum: Support
- Topic: Control the width of table columns programmatically
- Replies: 5
- Views: 37349
Re: Control the width of table columns programmatically
Thanks, it works.
- Sat Dec 27, 2025 1:23 pm
- Forum: Support
- Topic: Control the width of table columns programmatically
- Replies: 5
- Views: 37349
Re: Control the width of table columns programmatically
The content in the table changes via TRVLabelItemInfo.Text:
SRichViewEdit.CanUpdate := False;
try
ALabel.Text := '<some large text>'; // <-- here the table extends (expected behavior)
{ other operations... }
ALabel.Text := 'A'; // <-- here, the table width should return to normal (but it doesn ...
SRichViewEdit.CanUpdate := False;
try
ALabel.Text := '<some large text>'; // <-- here the table extends (expected behavior)
{ other operations... }
ALabel.Text := 'A'; // <-- here, the table width should return to normal (but it doesn ...
- Sat Dec 27, 2025 7:16 am
- Forum: Support
- Topic: Control the width of table columns programmatically
- Replies: 5
- Views: 37349
Re: Control the width of table columns programmatically
The sequence of actions is as follows:
1. The table contains content (text) that changes programmatically.
2. The content increases > the table columns expand.
3. The content decreases > the table columns remain wide.
4. Task: adjust the width of the columns to the current size of the content
I ...
1. The table contains content (text) that changes programmatically.
2. The content increases > the table columns expand.
3. The content decreases > the table columns remain wide.
4. Task: adjust the width of the columns to the current size of the content
I ...
- Thu Dec 11, 2025 9:50 pm
- Forum: Support
- Topic: Control the width of table columns programmatically
- Replies: 5
- Views: 37349
Control the width of table columns programmatically
Hi, I have a specific question about tables.
The editor has a TRVTableItemInfo table that contains TRVLabelItemInfo.
According to the program logic, I programmatically change TRVLabelItemInfo.Text twice. The first time, the width of the table columns automatically adapts to the wide text, which is ...
The editor has a TRVTableItemInfo table that contains TRVLabelItemInfo.
According to the program logic, I programmatically change TRVLabelItemInfo.Text twice. The first time, the width of the table columns automatically adapts to the wide text, which is ...
- Sat Jul 06, 2024 3:20 pm
- Forum: Support
- Topic: Automatically trim TRVLabelItemInfo
- Replies: 0
- Views: 225996
Automatically trim TRVLabelItemInfo
Hello RV-community!
I want to optimize the descendant of TRVLabelItemInfo so that the text always fits in a line. If there is too much text, I plan to put an ellipsis at the end (as in the photo). Can you tell me how to solve this problem?
I want to optimize the descendant of TRVLabelItemInfo so that the text always fits in a line. If there is too much text, I plan to put an ellipsis at the end (as in the photo). Can you tell me how to solve this problem?
- Thu Jun 13, 2024 3:17 pm
- Forum: Support
- Topic: How to use Redo after TRVUndoList.AddInfo?
- Replies: 4
- Views: 46005
Re: How to use Redo after TRVUndoList.AddInfo?
Yep, I need to add "AddUndo" to the Undo method. Thank you, Sergey)
- Thu Jun 13, 2024 10:31 am
- Forum: Support
- Topic: How to use Redo after TRVUndoList.AddInfo?
- Replies: 4
- Views: 46005
Re: How to use Redo after TRVUndoList.AddInfo?
Yes, implementation of the TRVUndoModifyMathObject.Undo is here:
procedure TRVUndoModifyMathObject.Undo(RVData: TRichViewRVData);
var
ItemInfo: TRVMathObjectItemInfo;
begin
if FItemNo > -1 then
begin
ItemInfo := TRVMathObjectItemInfo(RVData.GetItem(FItemNo));
if Assigned(ItemInfo) then ...
procedure TRVUndoModifyMathObject.Undo(RVData: TRichViewRVData);
var
ItemInfo: TRVMathObjectItemInfo;
begin
if FItemNo > -1 then
begin
ItemInfo := TRVMathObjectItemInfo(RVData.GetItem(FItemNo));
if Assigned(ItemInfo) then ...
- Wed Jun 12, 2024 5:34 pm
- Forum: Support
- Topic: How to use Redo after TRVUndoList.AddInfo?
- Replies: 4
- Views: 46005
How to use Redo after TRVUndoList.AddInfo?
Hi, I have read other forum threads regarding "Custom Undo" operations, but I did not find an answer.
Based on this topic , I implemented a custom Undo class, and it works fine:
class procedure TRVUndoModifyMathObject.AddUndo(RVData: TRichViewRVData;
ItemInfo: TRVMathObjectItemInfo);
var
Edit ...
Based on this topic , I implemented a custom Undo class, and it works fine:
class procedure TRVUndoModifyMathObject.AddUndo(RVData: TRichViewRVData;
ItemInfo: TRVMathObjectItemInfo);
var
Edit ...
- Wed May 22, 2024 5:42 am
- Forum: Support
- Topic: TRVMathItemInfo.TextColor problem on existing objects
- Replies: 2
- Views: 36278
Re: TRVMathItemInfo.TextColor problem on existing objects
Thank you Sergey, by email would be great.