Working with lists

Hi there,
I'm really not getting the lists thing. How can I use a list to colour a batch of numbers based on their value?

My little example app is attached. I'd be most grateful for any help!
test_number_colours.aia (2.9 KB)

In essence,

  • make a list of the components you need to change the text colour for
  • iterate over that list, testing each component for the value, and setting the colour accordingly

Learn about using lists:

General Tutorials

1 Like

This sample does something similar to what you want:

1 Like