I have a panel with an Imageview, for the panel there is a touch event
and for the image a LongClick event.
oPanel.Initialize("Panels")
oImage.Initialize("Images")
oImage.Bitmap = oBitmap
oPanel.AddView(oImage, 0, 0, 50%x, 50%y)
Activity.AddView(oPanel,0,0,100%x,100%y)
Sub Images_LongClick()
DoSomething()
End Sub
Sub Panels_Touch()
DoSomethingElse()
End Sub
If there are no subs for handling clicks on the image, they are handeled by
the Sub Panels_Touch. I needed a long click on the image and to see if they are sliding on the image, now I control both in the Panels_Touch event.
I could not find how events are handeled so maybe there is a way
to get the Images_longclick event, and someone can point me out where
to look.