erich.wanker Posted February 7, 2018 Share Posted February 7, 2018 how can i set the background color of UniHTMLFrame1 ? (all my tryings are killing the scrollbar of UniHTMLFrame1) and UniHTMLFrame1.HTML.Append('<html>'); UniHTMLFrame1.HTML.Append('<body bgcolor="#e7e7e7">'); UniHTMLFrame1.HTML.Append('</body>'); has no effect Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 7, 2018 Share Posted February 7, 2018 Hi Erich, I couldn't reproduce your issue, can you make a simple testcase for this ?! Best regards, Quote Link to comment Share on other sites More sharing options...
mos Posted February 27, 2018 Share Posted February 27, 2018 Hi Delphi Developer, I just stumbled across this issue and found this post. I tried the following HTML code as an example but the background color of the HTMLFrame does not change procedure TMainForm.UniButton1Click(Sender: TObject); begin FHTMLFrame.HTML.Text := '<html> ' + ' <body style="background-color:powderblue;"> ' + ' <h1>This is a heading</h1> ' + ' <p>This is a paragraph.</p> ' + ' </body> ' + ' </html> '; end; Quote Link to comment Share on other sites More sharing options...
gussmarcaro Posted April 26, 2018 Share Posted April 26, 2018 I could not either !!! Quote Link to comment Share on other sites More sharing options...
mos Posted July 9, 2018 Share Posted July 9, 2018 Hi Delphi Developer, Any update on this as I need to be able to set the background colour of the UniHTMLFrame? Delphi XE2 UniGui Complete Professional: 1466. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.