Hi, I'm trying to create dynamic panels and initialize them, but cant find how to.
some one need some help
try with, in globals
that works.
but initialize is other thing
I got this error
java.lang.ArrayIndexOutOfBoundsException: length=9; index=9
but I can initialize individualy
some one need some help
try with, in globals
B4X:
For i = 0 To 10 -1
Dim picture_panel(i) As Panel
Next
that works.
but initialize is other thing
B4X:
For x = 0 To 10 -1
picture_panel(x).Initialize("picture_panel"&x")
Next
I got this error
java.lang.ArrayIndexOutOfBoundsException: length=9; index=9
but I can initialize individualy
B4X:
picture_panel(0).Initialize("picture_panel0")