I am very new to using the servoy IDE, so please bear with me if I misstate or forget to ask in the proper way.
I have added a progressbar to a listview form component. I can have a different pct value for each record in the listform and those display great. What I need to solve and I can't seem to figure out is, how to make the progressbar color different based on the value of the pct of each record. For example, we want values less that 70% to be red, then less than 90% to be yellow and above that to be green.
I see a property on the component for type, which would allow me to change the color (or just adding css styles...) what I can't seem to figure out is how to find each listform component's records' components at run time so I could change either the type or classes.
So if I have 3 records showing on my form, how do i find each progress bar programmatically. The second question would be, what event would be best to use to kick off this process? I am thinking the onShow of the listform.
Thanks in Advance for any help!