Expand my Community achievements bar.

How to change the color for Object "Line"

Avatar

Level 1

Hi, i need to change via scripting the color for an object "Line" created by Designer ( Adobe LiveCycle Designer ES3)

I've tried to do it as i've done for the object "Text" but it doesn't work,

like this:

multiple.page1.Line1.border.fill.color.value = "255,128,164"; (doesn't work)

or

multiple.page1.Line1.font.fill.color.value  = "255,128,164"; (doesn't work)

The code for changing the color for the object "Text" is:  multiple.page1.Text1.border.fill.color.value = "255,128,64"; That's OK

Someone can indicate me the way to do it?

I've tried also whith:  Line1.setAttribute(value,name) but i didn't find the property name

Thanks

1 Reply

Avatar

Level 1

i've find it:

multiple.page1.Line1.value.line.edge.color.value= "255,128,164"; (that's OK)