trichview.support
Re: Font & color Problem with richview |
Author |
Message |
Jean Luc |
Posted: 11/27/2003 20:31:01 Dear Sergei, Once again, you have put your finger on the right source of the problem. I use several richviews that are connected to only one rvstyle. For a reason that I don't know yet, the styles of this rvstyle are affected in the loop of the program and this causes some styles that it contains to be deleted !!!! I suspect that for optimization reason richview components erase the unused styles from the list. As you mentioned, this inapropriated style list cause some backgrounds and borders to be set to red color. Many thanks to have lead me in the right direction. Jean Luc "Sergey Tkachenko" <[email protected]> wrote: >Yes, you can iterate trough all styles and find incorrect ones. >Or you can modify properties of InvalidItem (at run time, it is not a >published property) - for example, set its background to green instead of >red an look at the results. > >May be your style collections are modified while richview is invisible? > >If you can create a simple project reproducing this problem, send it to me, > > >> 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 > > |
Powered by ABC Amber Outlook Express Converter