Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

How to get the color of a textnode

$
0
0

Hi all,

 

I have a question about the colort of a textnode. Please look at the following two textnodes. I am trying to achieve their color by using the following code:

 

var pin7= Aliases.home.panel1.textnodePin7;

var cc= pin7.style.color;

var bc= pin7.style.backgroudcolor;

Log.Message(cc+bc);

 

But I always get the empty string for the colors? Which function is correct for achieving their colors?

 

 

fig1.png

 

Best Regards,

Jie


Viewing all articles
Browse latest Browse all 20990

Trending Articles