Hi,
New to B4A and have a problem with variable imageview.
i want to line-up the images with something like this.
the dim ImV1(40) as imageview is done above
Posleft =
10
PosTop =
10
For t= 1 To 40
ImV1(t).Width = 70dip
ImV1(t).Height = 70dip
ImV1(t).Bitmap= LoadBitmap(File.DirAssets, "MyPicture.jpg")
If t<11Then 'until 11 is one line
ImV1(t).Left= PosLeft
ImV1(t).Top = PosTop
PosLeft=PosLeft + 80 '10dip between the imageviews
Else
PosLeft =
10 'left is resetted
PosTop =
80 ' top as for line.
EndIf
ImV1(t).Visible=True
Next
any suggestions why this is not working?