trichview.support
Re: Merging data from one TDBRichViewEdit To TRichViewEdit |
Author |
Message |
Fredrik Larsson |
Posted: 02/26/2003 21:16:05 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