trichview.com

trichview.support




Re: can't change bkcolor to black .why?


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/14/2003 10:02:38


Are you sure that you call ApplyStyleConversion with DEMO_APPLYCOLOR as a

parameter?

May be the line

FontInfo->Color = clBlack

is not executed at all?


Is the parameter is OK, please send me source code  of project reproducing

the problem.




>

> "Sergey Tkachenko" <svt@trichview.com> wrote:

> >FontInfo->Color is a text color.

> >Background color is FontInfo->BackColor

> >

> >

> >>

> >> In a RichViewEdit ,I want set some words bkcolor to black,

> >

> >

> >

>

> you are right . I write wrong.

> but i ask why

>   NewStyleNo =

RVStyle->TextStyles->FindSuchStyle(StyleNo,FontInfo,RVAllFontInfoProperties)

;

> the NewStyleNo is always =0;???

>





Powered by ABC Amber Outlook Express Converter