Hey guys! So I have made a wizard in which the first step is for the user to determine how many entries they wish to make. The last page is a summary showing all the values the user entered which were stored in a list. I am using a label in a scrollview to show these entries.
Basically, I was wondering if there is a way to use a 'for loop' with a label. There is only one label, and the number of results to show is determined by a variable. If the user wants 300 results, I can't write out list.get() 300 times. But if I use:
It will repeatedly rewrite the value of the label, meaning only the last result will be shown.
Anyone have any ideas? Thanks guys.
Basically, I was wondering if there is a way to use a 'for loop' with a label. There is only one label, and the number of results to show is determined by a variable. If the user wants 300 results, I can't write out list.get() 300 times. But if I use:
B4X:
For X = 0 to main.noentries
label1.text = list1.get(x)
Anyone have any ideas? Thanks guys.