trichview.com

trichview.support




Tags in DBRichViewEdit lost!


Return to index


Author

Message

Gad D Lord

Posted: 06/11/2004 10:54:40


Hello,


I have the following program.


I use DBRichViewEdit

rvoTagsAsPChars in Options

FieldFormat = rvdbRTF


I insert a new tag

  DBRichViewEdit1.AddNLTag('test', 0, -1, Integer(StrNew('_TEST_')));

  DBRichViewEdit1.Format;


And search for that tag :


  for i := 0 to DBRichViewEdit1.RVData.ItemCount - 1 do

    if DBRichViewEdit1.RVData.GetItemStyle(i) >= 0 then

       ShowMessage('Found tag "' +

PChar(DBRichViewEdit1.RVData.GetItemTag(i)) + '"');


When I set the FieldFormat to rvdRVF then the tag is found and everything is

OK


BUT when use rvdRTF the tag is not found.


Is it possible that saving in RTF format in the DB to "chop" the tags?


Any comment will be appreciated.


Gad D Lord





Powered by ABC Amber Outlook Express Converter