Can you change bg color on a label in livecycle?

tangnamofool2

21-05-2015

‌I usually put a label on top of a rectangle box, but seems to not work when inside a subform. So i figured why not color the label box itself? Is this possible?

Accepted Solutions (0)

Answers (2)

Answers (2)

alcdtrainer1

26-05-2015

Hi Tangnamofool2,

Since there are no events associated with Text, you can add the following script to the initiailize event of a Subform/Page in which the Text is palced:

form1.Page1.StaticText1.border.fill.color.value = "100,0,0"

I did this in Designer 7.1 and should work in all the versions.

Thanks,

Kumar

jasotastic81

22-05-2015

"fillColor" is not an available property for Text. (At least as of ES3.) I think you're stuck with wrapping that Text in its own subform which would have that property.

766713_pastedImage_2.png

As an aside, here's what happens when you try to apply the fillColor property to Text.

766712_pastedImage_1.png