trichview.support
Re: Inserting HTML into TRichViewEdit |
Author |
Message |
Todd Cary |
Posted: 08/19/2002 15:55:00 Sergey - Did you mean TRVFontStyle? TRVFontStyle = (rvfsOverline, rvfsAllCaps); <----- Here?? TRVFontStyles = set of TRVFontStyle; Todd Sergey Tkachenko wrote: > 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 > > -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 |
Powered by ABC Amber Outlook Express Converter