Hello,
I'm creating a few labels on the fly and want to access their properties later on.
Unfortunately I can't seem to get it working.
here's the loop...
it seems that I can access the last created object with
mypic.width=1
is there a way to acces it via the tag like mypic(3) in some way?
I'm creating a few labels on the fly and want to access their properties later on.
Unfortunately I can't seem to get it working.
here's the loop...
B4X:
For x=0 To 10-1
Dim mypic As mypic.Initialize("")
mypic.Tag=x
Activity.AddView(mypic, 0, x*s, Activity.Width , 5)
Next
it seems that I can access the last created object with
mypic.width=1
is there a way to acces it via the tag like mypic(3) in some way?