trichview.com

trichview.support




Reset textstyle after inserting a hyperlink


Return to index


Author

Message

Pieter E.

Posted: 12/16/2004 11:48:03


Dear Sergey,


I've got a problem with adding a hyperlink by clicking a button.


The adding works correctly, but after inserting a hyperlink when I start

typing, the text uses the same style as the hyperlink.

(For example: blue and underlined text)


How do set the tekst back to the standard textstyle??


I use the following code:


rve->Options = rve->Options << rvoTagsArePChars;

rve->CurTextStyleNo = 4;

rve->ApplyTextStyle(rve->CurTextStyleNo);

rve->InsertStringTag(Edit2->Text, Integer(StrNew(Edit1->Text.c_str())));


I've looked around on this forum but I couldn't find a solution on my problem...

:(


Thanks for your support.


Pieter E.





Powered by ABC Amber Outlook Express Converter