I want to change the color of a button and of a tittle in the dashboard. In the image, for example, I want to change the color of the text "Opciones Pistola" and the color of the font on one button "Opción 0".
I need to do this from code. I could change the image of a button with the following code, but I can´t access the color font.
string controlID = "1"; string imagePath = "Capturas Pistola\\General2.png"; treenode control = getdashboardcontrol(controlID); treenode bmp = control.as(Object).attrs.assert("bitmap"); bmp.value = imagePath; refreshview(control);
I was trying a lot of options modifying that code, but I did not achieve any good result.
I had difficulties to find the buttons in the tree.
Thank you a lot in advance.