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?
Search found 58 matches
- Sat Jul 06, 2024 3:20 pm
- Forum: Support
- Topic: Automatically trim TRVLabelItemInfo
- Replies: 0
- Views: 23285
- Thu Jun 13, 2024 3:17 pm
- Forum: Support
- Topic: How to use Redo after TRVUndoList.AddInfo?
- Replies: 4
- Views: 16811
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: 16811
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 begin ...
- Wed Jun 12, 2024 5:34 pm
- Forum: Support
- Topic: How to use Redo after TRVUndoList.AddInfo?
- Replies: 4
- Views: 16811
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 ...
- Wed May 22, 2024 5:42 am
- Forum: Support
- Topic: TRVMathItemInfo.TextColor problem on existing objects
- Replies: 2
- Views: 16299
Re: TRVMathItemInfo.TextColor problem on existing objects
Thank you Sergey, by email would be great.
- Wed May 08, 2024 10:37 am
- Forum: Support
- Topic: TRVMathItemInfo.TextColor problem on existing objects
- Replies: 2
- Views: 16299
TRVMathItemInfo.TextColor problem on existing objects
I have a problem with setting the TRVMathItemInfo.TextColor property. When the formula is created (a new one is added), this property works fine. But when the formula already exists and I try to change the TextColor, nothing happens. The same problem occurs with the visual formula editor ...
- Sun Jan 29, 2023 9:29 pm
- Forum: Support
- Topic: Problem with STIX Math font
- Replies: 8
- Views: 12997
Re: Problem with STIX Math font
I commented the code and tested AME's solution. The fonts "STIXTwoMath-Regular.otf" and "STIXTwoMath-Regular.ttf" failed anyway (now the AV appears in a different place). It seems to me that the engine does not work properly with some characters, because the font "STIXTwoMath-Regular.input.ttf ...
- Sat Jan 28, 2023 11:23 pm
- Forum: Support
- Topic: Problem with STIX Math font
- Replies: 8
- Views: 12997
Re: Problem with STIX Math font
I experimented a bit and this is what I found. The STIX font set includes several math fonts: - STIXTwoMath-Regular.otf (from the "fonts > static_otf" subfolder, 819 KB) - STIXTwoMath-Regular.ttf (from the "fonts > static_ttf" subfolder, 1483 KB) Both of these fonts result in an error (AV). But this ...
- Sat Jan 28, 2023 10:49 pm
- Forum: Support
- Topic: Problem with STIX Math font
- Replies: 8
- Views: 12997
Re: Problem with STIX Math font
I don't use custom memory managers, but If we need a more detailed analysis, I am ready.Sergey Tkachenko wrote: ↑Sat Jan 28, 2023 8:02 pm Do you have some custom memory manager installed in Delphi?
- Sat Jan 28, 2023 10:20 am
- Forum: Support
- Topic: Problem with STIX Math font
- Replies: 8
- Views: 12997
Re: Problem with STIX Math font
Yes, I am attaching the ZIP. The archive contains a test application and screenshots.
I use the latest version of RV.
And here I recorded the sequence of my actions on video:
https://dystlab.store/download/gftruiw/ ... 120859.wmv
I use the latest version of RV.
And here I recorded the sequence of my actions on video:
https://dystlab.store/download/gftruiw/ ... 120859.wmv
- Fri Jan 27, 2023 3:09 pm
- Forum: Support
- Topic: Problem with STIX Math font
- Replies: 8
- Views: 12997
Problem with STIX Math font
Hi, I have a problem with the "STIXTwoMath-Regular" math font. It is a very common and functional font. But when I try to use it (just select from ComboBox in the Equation Editor), I get AV. I can't attach the font to this post, it's 819 kB. But you can download it freely here: https://github.com ...
- Fri Oct 14, 2022 12:23 pm
- Forum: Support
- Topic: Access Violation when I press CTRL+A on the header
- Replies: 4
- Views: 8818
Re: Access Violation when I press CTRL+A on the header
Ok, thanks for the clarification!
- Fri Oct 14, 2022 10:32 am
- Forum: Support
- Topic: Access Violation when I press CTRL+A on the header
- Replies: 4
- Views: 8818
Re: Access Violation when I press CTRL+A on the header
OK, I have already sent a letter with an example. It seems that this bug appears only if there is a table in the Header. I'm assuming that the table has a dynamic editor and catches the appropriate events, and that's where RVData=nil can be. To reproduce issue: 1. Set event handler for SRichViewEdit ...
- Thu Oct 13, 2022 10:26 am
- Forum: Support
- Topic: Access Violation when I press CTRL+A on the header
- Replies: 4
- Views: 8818
Access Violation when I press CTRL+A on the header
Hi, I am getting Access Violation when I press CTRL+A on the header (TSRichViewEdit). Debugger shows that the property RVData=nil in the methods TCustomRichViewEdit.KeyDown and TCustomRichView.KeyDown. I set a temporary check at the beginning of the method: if RVData = nil then Exit; But perhaps a ...
- Sat Jun 04, 2022 10:16 am
- Forum: Support
- Topic: Inserted item is not updated until you click the mouse
- Replies: 6
- Views: 8433
Re: Inserted item is not updated until you click the mouse
Thank you very much! It solves everything.