Holding the finger on the screen too long causes retrigger of this Touch code.
Can I do anything to accept only the first triggering please?
This acts a bit like the PC keyboard queue.
[Edit] Is there a queue I can empty at some point in the code?
Can I do anything to accept only the first triggering please?
This acts a bit like the PC keyboard queue.
[Edit] Is there a queue I can empty at some point in the code?
B4X:
Sub pnl_Touch(Action As Int, X As Float, Y As Float)
Dim col,row As Byte
If Action=0
col=X/(kCellwh+1) : row=Y/(kCellwh+1)
...
End If
End Sub
Last edited: