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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 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
I am working on making our application support Zoom in WIndows 125%, 150% etc. For alot of forms there is a scaled option. I know I could use RichView.DocumentPixelsPerInch = 144, instead of the normal 96.
Is there a way to adjust this behind the scenes to RichView itself? We are using primarily ...