Sub setupscrollview
Dim level1button As ImageView
Dim level1buttonimage As Bitmap
Dim level2button As ImageView
Dim level2buttonimage As Bitmap
level1buttonimage.Initialize(File.DirAssets,"level1.gif")
level1button.Initialize("level1")
level1button.Bitmap=level1buttonimage
Scroll1.Panel.AddView(level1button,40,20,128,64)
level2buttonimage.Initialize(File.DirAssets,"level2.gif")
level2button.Initialize("level2")
level2button.Bitmap=level2buttonimage
Scroll1.Panel.AddView(level2button,40,80,128,64)
End Sub
Sub level1_Click
ToastMessageShow("level1",False)
End Sub
Sub level2_Click
ToastMessageShow("level2",False)
End Sub