trichview.support
Re: Reset textstyle after inserting a hyperlink |
Author |
Message |
Pieter E. |
Posted: 12/16/2004 21:58:04 Dear Sergey, Thank you for your support. It works! Still I have a problem: When I move the cursor around and start typing behind the hyperlink again, the style changes back to the hyperlinkstyle... :( Do you have a solution?? Do I have to set a code in the OnChange event?? Thanks. Pieter E. "Sergey Tkachenko" <svt@trichview.com> wrote: >int OldStyleNo = rve->CurTextStyleNo; >rve->CurTextStyleNo = 4; >rve->ApplyTextStyle(rve->CurTextStyleNo); >rve->InsertStringTag(Edit2->Text, Integer(StrNew(Edit1->Text.c_str()))); >rve->CurTextStyleNo = OldStyleNo; > > |
Powered by ABC Amber Outlook Express Converter