I have the code at home and I can upload tonight but basically I have created a Touch event for the panel and have code similar to this:
I have defined a panel in the layout and created a reference in the global section: private Panel1 as Panel.
In the Touch event handler, the code is similar to below:
sub Panel1_Touch (Action As Int, X As Float, Y As Float)
if Action = Panel1.
ACTION_DOWN then
log("Panel down")
else if Action = Panel1.ACTION_UP then
log("Panel up")
end if
end sub
I have tried this on various hardware platforms with similar results. In most cases, I get "Panel down" followed by "Panel up" events even though I have not taken my finger off the panel. I originally coded with Buttons using the Up and Down events and had similar results. I have tried this same exact code on various platforms from a ~4 inch phone to 8 inch tablets. It seems that the larger the device, the the higher the potential of this occurring. I have used the button code on my 5 inch Motorola MAXX and a 4.5 inch Galaxy Core Prime with reasonable results, but the exact same apk file on larger devices cause event bouncing.
It seems that this issue has been intermittent from device to device for many years, based on the forum. Unfortunately, I really need this operation to work across hardware platforms and right now, the button up/down events are fairly useless in their current operating state.
Any assistance on your part would be greatly appreciated...
Thank you.
Mark