Page 1 of 1

Html background color

Posted: Wed Jun 03, 2009 3:56 pm
by Stefaan
When a html without background color is opened, the background is clBtnFace in the editor.

Html example:

Code: Select all

<html>
  <body>
	Test
  </body>
</html>
How can I display such a html with a white background? Of course, when the html has a background color specified, this color should be used instead of white.

I'm using RvHtmlImporter v0.0032 and RVHTMLViewImporter 1.5.3. The html is opened with TrvActionOpen.

Posted: Fri Jun 05, 2009 4:35 pm
by Sergey Tkachenko
Change THTMLViewer.DefBackground to clWhite (or clWindow).