trichview.support
Re: Inserting HTML into TRichViewEdit |
Author |
Message |
Sergey Tkachenko |
Posted: 08/19/2002 19:02:58 No, TRVFontStyles is a type of FontInfo.StyleEx. I meant FontInfo.Options. If you do not have this property - update your version of RichView. > 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