RVStyle giving wrong color
Posted: Tue Nov 10, 2009 10:19 pm
I have searched the forums and looked at the demos and still don't have the answer.
I have a DBSRichViewEdit object which I assigned a RVStyle object (RVStyle1). I tried adding a style at design time and at run time using RVStyle1.TextStyles.Add. No matter what I do, the text styles are the default styles and any reference to my inserted styles gives a red background and white letters in the default font.
All I want to do is change the background and text color to black and white respectively.
The TextStyles.Count includes the added styles. Default is 5. With the one I added at design time it is 6. And, when I add another at run time it is 7.
I even tried adding the design time style in the 3rd position and it still has the properties of the default 3rd style.
You would think this would be easy!
I have a DBSRichViewEdit object which I assigned a RVStyle object (RVStyle1). I tried adding a style at design time and at run time using RVStyle1.TextStyles.Add. No matter what I do, the text styles are the default styles and any reference to my inserted styles gives a red background and white letters in the default font.
All I want to do is change the background and text color to black and white respectively.
The TextStyles.Count includes the added styles. Default is 5. With the one I added at design time it is 6. And, when I add another at run time it is 7.
I even tried adding the design time style in the 3rd position and it still has the properties of the default 3rd style.
You would think this would be easy!