trichview.support
Re: Merging data from one TDBRichViewEdit To TRichViewEdit |
Author |
Message |
Sergey Tkachenko |
Posted: 02/27/2003 14:56:27 I believe that error is somewhere outside the cited code. If you can send me a compilable project I'll try to see what's wrong. > I have removed the format at the end and added format at the top. It's still > an AV if the last item is an code-tag. I tried with and without format after > clear but no real difference existed. > > "Sergey Tkachenko" <svt@trichview.com> wrote in message > news:3e5c8dff@support.torry.net... > > InsertText method requires formatted document before its call, and leaves > > its formatted after. > > This means: > > 1) If you use InsertText, you must call Format after Clear, before the > > cycle. This may be a cause of error. > > 2) You need not to call Format at the end. In this case, it does nothing > and > > only slows down performance. > > > > > > > > Regarding the exception it seem to have something to do with the last > item > > > being tagged. If I add normal text after the coded item it works. The > code > > > is as per below. And it is the DBRichViewEdit I am using. I will try to > do > > > an example and send to you. Note that the exception is in the > > > previewedit.format part. > > > > > > > > |
Powered by ABC Amber Outlook Express Converter