PDA

View Full Version : Background color within HTMLdocument in .Net


Unregistered
January 17, 2003, 06:52:55
Is it true that the background color contained within the body of an HTML document is ignored by TXTextControl? I tried this with C# with the .Net version and used a document that was created with the sample word processing program that came with TXTextControl. The background color appeared correctly on the screen but TXTextControl saved the background as color #FFFFFF with the BODY HTML tag. If I manually edited the bgcolor in the HTML document and reloaded it into the TXTextControl, the background still appeared white.

Although the BackColor property works fine, it seems that once the BackColor is programmatically set that a Save() operation should have created a document that would retain the selected color so that it could be reloaded at a later date and look the same way it was when it was edited!


This message was originally posted by Lee Rautenberg in the old TX Text Control Support Forum.

Christopher Krause
January 21, 2003, 17:03:26
Hello Lee,

I am able to reproduce this problem. I will forward this to our error/bug list.

Regards,
Christopher Krause