27 Jan 2012, 10:35 PM
I am writing a simple little app that does color space math. I have a form with RGB and HSL and hex, and I want to display the color whenever any of these things change. I cannot for the life of me figure out how to change the background color of the panel at the top of my app at run time, I can set it when I'm setting up the app no problem, but there is no setColor or setStyle function through witch I would be able to do this. This seems like an idiotically simple thing to do so there must be a way (short of some ugly hack like trying to guess the name of the dom element and doing it that way). This is sort of a critical feature, so I can't just not do it. Google has yielded me nothing useful.