Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Has anyone encountered a black RichTextBox background when installed (InstallShield) on a certain XP computer? This does not happen on one other XP or Win 7. It gives me a black background and black text on it, which is not viewable.

Thanks.
Posted
Comments
Toli Cuturicu 10-Aug-10 18:54pm    
Nobody can answer "no"...
willworknow1 11-Aug-10 12:46pm    
Update....

I found out that the person using the computer has an IAR compiler with the display settings to display white text on black background. I don't understand why this would have an effect on my RTB. I then forced the blackground to white on form_load:

rtb.BackColor = Color.White;

This seems to have fixed the problem.
willworknow1 11-Aug-10 12:50pm    
One other strange thing...I have two RichTextBoxes. One read only that had the black issue and one that was used for data entry. The data entry one did not have this issue and gave the expected black text on white background.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900