trichview.com

trichview.support




Re: Paste form field


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/18/2003 20:47:29


Does this field contain RTF?

In this case:


var Stream: TStream;


Stream :=

dm.tbSignalering.CreateBlobStream(dm.tbSignalering.FieldByName('signaaltekst

'), bmRead);

if rve.SearchText('sometest',[rvseoDown]) then

  rve.InsertRTFFromStreamEd(Stream);

Stream.Free;




> NewText:=dm.tbSignalering.FieldByName('signaaltekst').AsString;

> SearchText('sometest',[rvseoDown]);

> InsertText(NewText,true);



> Hi,

>

> I want to paste the content of a tablefield in a TRichViewEdit, but the

raw

> rtf is pasted in the text. How can I paste it correct?

> Now I have this:

>

> NewText:=dm.tbSignalering.FieldByName('signaaltekst').AsString;

> SearchText('sometest',[rvseoDown]);

> InsertText(NewText,true);

>

> Greetings,

> Ronald van der Pas

>

>





Powered by ABC Amber Outlook Express Converter