I try loading RTF into TSRichViewEdit. And I receive an exception in TSRichViewEdit.HookAfterReadNote:
Code: Select all
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EListError with message 'List index out of bounds (16)'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
And here is a code that load RTF:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
SRVE.RichViewEdit.LoadRTF('d:\test.rtf');
end;
Is this mistake in TSRichViewEdit or my RTF is corrupted?
Thank you!