trichview.support
Re: Font & color Problem with richview |
Author |
Message |
jean luc |
Posted: 11/26/2003 13:42:10 Sergei, Thank you for your rapid answer. I will investigate in your direction : i intend to "parse" all the styles to eventually detect the wrong ones. I'll let you know if this leads to success. But don't you think that if this were really the problem, the richview component should also have the same behaviour at load time.(i remind you that when i first load the rvf it appears correctly), it is just when i have hidden my populated richview and when later i turn it again visible that this problem occurs. "Sergey Tkachenko" <svt@trichview.com> wrote: >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