trichview.com

trichview.support




Re: Inserting HTML into TRichViewEdit


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/18/2002 19:33:25


In TRVStyle, add item in TextStyles collection, set its Options property to

[rvteoHTMLCode]. Remember its index in the collection.

(for example, HTMLCodeStyleNo).

Then, for example, make a command "Insert HTML Code",


RichViewEdit.CurTextStyleNo := HTMLCodeStyleNo;

RichViewEdit.InsertText('ENTER YOUR HTML CODE HERE');


Text of this style will be saved in HTML without replacing <>&


> Sergey -

>

> <<<

> Insert text of style having rvteoHTMLCode in Options.

> >>>

>

> I have used the SimpleEditor as my core, so Options and Styles are not

present.

> Is there an example in the regular example or elsewhere?

>

> Todd

>






Powered by ABC Amber Outlook Express Converter