Changing the text color not of values can be received


Author
Message
sharondan
sharondan
Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)Associate Member (217 reputation)
Group: Forum Members
Posts: 14, Visits: 102
Hi,
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.
<text flickerPrimaryLow>
/ 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
</text>

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.

Thanks




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search