SOLVED update background color of bitmap button and static text

how can I update background color of bitmap button and static text when dialog have opened.update backgroundcolor in class 'commandData', but not in the class 'c4d.gui.Gialog'.
I know how to change the color of the gui elements, but I don't know how to update the background color after opening dialog. I have got a try with 'c4d.gui.GeUpateUI()', but I think it not suitable.
or can I use the userArea to replace the bitmap button and static text?
can you guys tell me the ways or get me an example. Thanks guys!

Hi,

it's not possible to change the backgrounds of those gadgets. For the button, you can instead add a BitmapButton and change the image to display the color you want just like in this thread

Cheers,
Manuel