trichview.com

trichview.support




Re: Font & color Problem with richview


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/26/2003 10:50:37


Red background color may mean that document contains incorrect (too large)

indices of text and paragraph styles.

RVStyle.TextStyles.InvalidItem and RVStyle.ParaStyles.InvalidItem are used

to display text if incorrect style.


By default, RVStyle.TextStyles.InvalidItem is white on red text, and

RVStyle.ParaStyles.InvalidItem has a red border.


For example, if RichView is linked to RVStyle with 5 text styles

(RVStyle.TextStyles.Count=5), if you add text

RichView.AddNL('text', 5, 0);

it will be displayed on red background, because valid range of StyleNo is

0..4.






Powered by ABC Amber Outlook Express Converter