Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Can you change bg color on a label in livecycle?

Level 2
Level 2

‌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?

2 Replies
Level 7
Level 7

"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.


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


Not applicable

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.