Hello,
Why it doesn't work?
ImageView0, ImageView1 etc.. are built with designer
It seems ImageView0, ImageView1 etc.. not initialized
Dim ImageView0, ImageView1, ImageView2, ImageView3, ImageView4 as ImageView
Dim ImgPilule() As ImageView
ImgPilule = Array As ImageView(ImageView0, ImageView1, ImageView2, ImageView3, ImageView4)
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
ImgPilule(5).Initialize("")
bmp_pilule = LoadBitmap(File.DirAssets, "pilule.png")
ImgPilule(0).Bitmap = bmp_pilule
End sub
Thank you
Why it doesn't work?
ImageView0, ImageView1 etc.. are built with designer
It seems ImageView0, ImageView1 etc.. not initialized
Dim ImageView0, ImageView1, ImageView2, ImageView3, ImageView4 as ImageView
Dim ImgPilule() As ImageView
ImgPilule = Array As ImageView(ImageView0, ImageView1, ImageView2, ImageView3, ImageView4)
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
ImgPilule(5).Initialize("")
bmp_pilule = LoadBitmap(File.DirAssets, "pilule.png")
ImgPilule(0).Bitmap = bmp_pilule
End sub
Thank you