trichview.com

trichview.support




Re: Clearing without loosing text format


Return to index


Author

Message

Marcos Lommez

Posted: 02/12/2004 3:18:21


Im using TRichViewEdit

Im gonna try to explain better


for example...

the last thing that the user wrote he was using a font with these settings:

color = blue, backgroundcolor = yellow; bold, italic


after this i call RichViewEdit1.Clear() but when the user write a new

message i wanna have the same font settings that he used in the last

message. But RichViewEdit.Clear have set the font settings to default

values.

My question is, how can i call RichViewEdit1.Clear without setting current

text style index to zero?




> Sorry, I do not understand. TRichView (not TRichViewEdit) does not have a

> current style.

> Style is specified explicitly in Add*** methods.

>

> > I just wanna keep the current style when clearing...

> > Is impossible to do that?

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter