Page 1 of 1

Some images valign=rvaRight cause crash

Posted: Sat Apr 02, 2022 1:34 am
by wolf1860
TSRichViewEdit:
The content is created by code,it contains many parts which are read from database and inserted by AppendRVFFromStream. Some parts contains image which is set valign=rvaRight.On some occasions,the app crash when call RSRichViewEdit.Format.I can't provide test data,any suggestions?

Re: Some images valign=rvaRight cause crash

Posted: Sat Apr 02, 2022 12:10 pm
by Sergey Tkachenko
This problem was not reported before.
I am afraid I cannot help without additional information.

1. Make sure that you use the newest version of TRichView
2. If a test example is not possible, at least I need to know where in the code an exception occurs. If it happens when debugging in Delphi IDE, please send me a call stack at the moment of exception. If not in IDE, please use some exception logging tools, such as madExcept (http://www.madshi.net/)