Group: Forum Members
When changing the text color after the text object is created it seems that not all values can be received.
The following text can receive the colors #000000 //#696969 only in the moment of creation.
/ items = item.shapeItems
/ fontstyle = ("Arial", values.flickerFontSize)
/ txcolor = #000000 //#696969 This is working fine if it is done here
/ txbgcolor = transparent
/ select = list.aShapePrimaryLow.nextvalue
/ erase = false
However, If we write later on write
text.flickerPrimaryLow.textcolor = #696969 //this is not working
This will make the stimulus disappear, but if we write
text.flickerPrimaryLow.textcolor = #BEBEBE // this is working fine
This works fine
Note that if you change the color through the built-in color interface it works fine even for the "problematic values"
text.flickerPrimaryLow.textcolor = black; //correspond to #000000 and works fine
text.flickerPrimaryLow.textcolor = dimgray //correspond to #696969 and works fine
The problem with using the built-in colors is that the numbers of colors are limited, for instance, I need to use different shared of greys that unfortunately do not exist as built-in colors.