cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Formatting list boxes from script

Digger28
1-Newbie

Formatting list boxes from script

How would I go about formatting a list box based off of the output of another list box?

I am trying to change the background color of a list box = "B" based on the output of another list box "A". list box "A" has two options the first being 1 and the second being 2. I want the background of list box "B" to change to the color yellow when option 1 in list box "A" is chosen and stay white when the option 2 is chosen.

4 REPLIES 4
RichardJ
19-Tanzanite
(To:Digger28)

Please don't post the same question three times (or even twice).

The Listbox control does not have a background color property.

first time user Richard, it was an accident. Is it a coincidence that your name is also another name for Dick, because that is what you're being? Thanks for the response though.

RichardJ
19-Tanzanite
(To:Digger28)

Name calling demeans you, not me.

It's not a good way to get help either.

MikeArmstrong
5-Regular Member
(To:Digger28)

First time user or not, it should be perfectly clear that you don't create three threads for one question.

Garrett Schirmacher wrote:

Is it a coincidence that your name is also another name for ****, because that is what you're being?

I suggest if you want help in the future you acting like an adult.

Top Tags