Greetings Sergey,
We had to rebuild some various components of RichView because we had to do some editing for our own needs.
For some reason in RVSpellFormUtils.pas
This will not turn on even though RVCANUSEFORMS is set in RV_Defs.inc and we are not in FMX but in VCL.
{$IFnDEF RVMOBILE}{$IFDEF ...
Search found 317 matches
- Thu Aug 21, 2025 1:37 am
- Forum: Support
- Topic: RVCANUSEFORMS from RV_Defs.inc problem
- Replies: 1
- Views: 7871
- Tue Jul 29, 2025 8:24 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
This does seem to work thank you.
Code: Select all
reader.RVData.NormalizeDocument(0,True);
reader.format;
- Wed Jul 23, 2025 9:45 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
One clarification I believed initially this was RTF table related, it is not nothing to do with RTF. I am sorry for that confusion.
- Wed Jul 23, 2025 9:39 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
Thanks Sergey for being willing to help me I understand this is complex:
To produce the error it seems RichView Text must be pasted from one RichView to another but make sure there is a background color in the pasted text.
Here is the call stack:
:770d0144 KERNELBASE.RaiseException + 0x64 ...
To produce the error it seems RichView Text must be pasted from one RichView to another but make sure there is a background color in the pasted text.
Here is the call stack:
:770d0144 KERNELBASE.RaiseException + 0x64 ...
- Wed Jul 23, 2025 4:01 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
Sorry Sergey,
It is a bug that as I dug deeper got closer and closer to the problem.
1. RVItemList is the interface info
2. It happens inside pasting to a richview
3. The cause seems to be deep in DrawingBackground of CRVFData
4. But all of this as you said is so hard to follow that it is ...
It is a bug that as I dug deeper got closer and closer to the problem.
1. RVItemList is the interface info
2. It happens inside pasting to a richview
3. The cause seems to be deep in DrawingBackground of CRVFData
4. But all of this as you said is so hard to follow that it is ...
- Wed Jul 23, 2025 2:00 am
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
Well I found the cause but after multiple time of trying to format, reformat etc. It is just not working.
It is when reader.RVData.NormalizeDocument(0,True); is ran then when it tries to conceat I believe it is the RVItemList messes up.
How can I fix this. It is like the Pasting is still in process ...
It is when reader.RVData.NormalizeDocument(0,True); is ran then when it tries to conceat I believe it is the RVItemList messes up.
How can I fix this. It is like the Pasting is still in process ...
- Thu Jul 17, 2025 8:07 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
OOps I missed the timer funciton it goes to before WMAfterPaste
This is to allow the paste function to complete.
// Replace the timer callback with this method:
procedure TfmBookView.OnAfterPasteTimer(Sender: TObject);
begin
FAfterPasteTimer.Enabled := False;
try
// Validate we're still in the ...
This is to allow the paste function to complete.
// Replace the timer callback with this method:
procedure TfmBookView.OnAfterPasteTimer(Sender: TObject);
begin
FAfterPasteTimer.Enabled := False;
try
// Validate we're still in the ...
- Thu Jul 17, 2025 8:01 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
Here is the function it starts in readerpaste and ends in WMAfterPaste and it all seems to work fine until I click on a different reader....
var
MuteReaderPasteDelegate: Boolean = False;
TextStyleBeforePaste, ParaStyleBeforePaste: Integer;
procedure TfmBookView.readerPaste(Sender ...
var
MuteReaderPasteDelegate: Boolean = False;
TextStyleBeforePaste, ParaStyleBeforePaste: Integer;
procedure TfmBookView.readerPaste(Sender ...
- Thu Jul 17, 2025 12:53 am
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
I have found the problem but not sure why it exists:
//SHIFT not pressed (UP)
if GetKeyState(VK_SHIFT) and $ff00 = 0 then begin
try
s := reader.GetItemTag(i);
p := Pos(':', s);
if (p>0) and(p<6) then continue;
reader.SetItemTag(i, ''); <------------if I comment this out I am fine
except
on ...
//SHIFT not pressed (UP)
if GetKeyState(VK_SHIFT) and $ff00 = 0 then begin
try
s := reader.GetItemTag(i);
p := Pos(':', s);
if (p>0) and(p<6) then continue;
reader.SetItemTag(i, ''); <------------if I comment this out I am fine
except
on ...
- Wed Jul 16, 2025 12:04 am
- Forum: Support
- Topic: odd formatting issue - not sure of the cause.
- Replies: 1
- Views: 32027
odd formatting issue - not sure of the cause.
Here is the good format
Sometimes it just loads like this. If the topic is reloaded it can then be fine.
- Tue Jul 15, 2025 9:46 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
It is highly possible I've done something wrong and just have no idea on how to get to the bottom of it.
- Tue Jul 15, 2025 6:50 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Re: Bad RTF table causing RichView to error
Is this related Sergey?
It is showing up in the Richview interface but not always.
It is showing up in the Richview interface but not always.
- Sat Jul 12, 2025 8:53 pm
- Forum: Support
- Topic: Bad RTF table causing RichView to error
- Replies: 17
- Views: 286141
Bad RTF table causing RichView to error
Greetings Sergey,
I am getting an error in this code:
First chance exception at $75D50144. Exception class EListError with message 'List index out of bounds (-1). TRVList is empty'.
I know it is bad RTF code on a Table (however, I can't always fix the bad RTF tables. These can be from users. Is ...
I am getting an error in this code:
First chance exception at $75D50144. Exception class EListError with message 'List index out of bounds (-1). TRVList is empty'.
I know it is bad RTF code on a Table (however, I can't always fix the bad RTF tables. These can be from users. Is ...
- Wed Jul 09, 2025 8:48 pm
- Forum: Support
- Topic: HighDPI Windows zoom
- Replies: 3
- Views: 82111
Re: HighDPI Windows zoom
I think I found it: PixelsPerInch this was used through out with TRStyles and so I need to go throughout and update.
reader2.Style.TextStyles.PixelsPerInch
reader2.Style.TextStyles.PixelsPerInch
- Wed Jul 09, 2025 4:37 pm
- Forum: Support
- Topic: HighDPI Windows zoom
- Replies: 3
- Views: 82111
Re: HighDPI Windows zoom
I read some place else that it is natively supported. So I must have something on I don't need???
Ideas on what that could be?
Ideas on what that could be?