The back color attribute is not working.
This is my code:
.createObject(nObjTable,"oTop")
obj = .getObjectByName("oTop")
IF !ISNULL(obj)
WITH obj
.Attribute("Rows") = 1
.Attribute("Columns") = 1
.Attribute("left") = lnLeft
.Attribute("top") = lnTop
.Attribute("right") = lnLeft + nThumbW
.Attribute("bottom") = lnTop + nVBreak
ENDWITH
ENDIF
.ObjectAttributeSTR("oTop.Cells[1,1]", "TextGap", 2)
.ObjectAttributeSTR("oTop.Cells[1,1]", "DataType", 1)
.ObjectAttributeSTR("oTop.Cells[1,1]", "BackColor", "C0C0C0") .ObjectAttributeSTR("oTop.Cells[1,1]", "Font", "Arial Narrow,8,0,0,0") &&Text Font not working
.ObjectAttributeSTR("oTop.Cells[1,1]", "Text", lcTextTop)
.RedrawObject("oTop.Cells[1,1]") &&back color not working
backcolor not working
managed to work
Ok, I managed the back color to work. It's weird, I only had to put the color instruction after the text instruction and it worked