Tip: Setting the Background Color in WebDialogs

Originally published at: Tip: Setting the Background Color in WebDialogs – Xojo Programming Blog

I was recently asked how to set the background color in a WebDialog. There are a few approaches you can take to accomplish this. The simplest one is to add a rectangle as a layer of the WebDialog and set a color to it. In this tutorial you’ll learn how to set the background cool by accessing the style property of the object in the DOM model and setting it there.