iOS Question Update text in labels contained in Scrollview

John Sturt

Active Member
Licensed User
I fill it by code

A loop of index

scrollview.panel.addview (Label(index),a,b,c,d)

and their are no other views in the scrollview

I cannot update the text in any label apart from the first one.
I have enabled multiline.
Upvote 0


Licensed User
You should have shown us the code you use to fill the ScrollView.
Where and how do you initialize the Labels?
It seems that you are using an array of Labels.
So you could do it with Label(Index).Text = "something"
Private lbl As Label
lbl = ScrollView.Panel.GetView(Index)
lbl.Text = = "something"
Upvote 0