I have a Text Display Object named “1Dashboard” in a form. It has a background colour of 0000FF (Blue). When I run a procedure which contains only the code below, the background colour of the object does not change.
let ObNam = "1Dashboard"
object ObNam
changeobjects "$TextBackgroundFill","FFA500"
I’m not sure why that code is not working for you. However, the object statement is really obsolete at this point. I would suggest that you use this code:
Are you sure you have the right name for the object? When I tried it, it worked perfectly. I notice that when you use selectobjects, you are using contains, and only a portion of the name. It could be that the full name differs slightly in spelling or case, from the name that you are using. Perhaps the full name contains a space at the beginning or end.