trichview.com

trichview.support




Re: Inserting HTML into TRichViewEdit


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/21/2002 13:09:50


This is a property of TFontInfo

(the last line in TFontInfo declaration:

property Options: TRVTextOptions read FOptions write FOptions default [];

)


> Sergey -

>

> <<<

> No, TRVFontStyles is a type of FontInfo.StyleEx.

> I meant FontInfo.Options.

> If you do not have this property - update your version of RichView.

> >>>

>

> I have the lastest Beta and I may not be looking for the correct

Class.Property,

>

> but I do not see where the property value is located or should be located

in

> RVStyle.

>

>

>

> Sergey Tkachenko wrote:

>

> > 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

> > > [email protected]

> > >

> > >

>

> --

> Todd Cary

> Ariste Software

> 2200 D Street Extension

> Petaluma, CA 94952

> 707-773-4523

> [email protected]

>

>





Powered by ABC Amber Outlook Express Converter