dionel1969 Posted August 19, 2011 Posted August 19, 2011 Hello !!! I have an app with property "MainFormDisplayMode" set to mfPage, and I want to change background color to SkyBlue. So in the server module I add this in CustomCSS: <style type="text/css"> body { background-color:#87cefa; } </style> but it does not work. Quote
ibandyop Posted August 19, 2011 Posted August 19, 2011 Set the property MainForm.Color:=clSkyBlue; Quote
patmap Posted August 19, 2011 Posted August 19, 2011 Hi, So you can change background color and image with css: .x-panel-body, body { background-color:#87cefa; background-image: url(bg.png); } Regards Quote
dionel1969 Posted August 19, 2011 Author Posted August 19, 2011 Thank you for answers. The second works. The first must work but I forgot to say that I wanted it for web, no for windows application. Quote
Administrators Farshad Mohajeri Posted August 20, 2011 Administrators Posted August 20, 2011 In both page mode and windowed mode Background color of MainForm can be set via MainForm.Color. Quote
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.