iOSCanvas.PointerDown
From Xojo Documentation
Event
Called when the pointing device is tapped, touched or clicked.
Sample Code
This code saves all touch points to an array, which is used to display circles in the Paint event:
// mTouches is a property
// mTouches() As Point
If eventInfo.PointerCount > 0 Then
// Save multi-touch points
For i As Integer = 0 To eventInfo.PointerCount - 1
mTouches.Append(eventInfo.PointerPosition(i))
Next
Else
mTouches.Append(pos)
End If
Me.Invalidate
// mTouches() As Point
If eventInfo.PointerCount > 0 Then
// Save multi-touch points
For i As Integer = 0 To eventInfo.PointerCount - 1
mTouches.Append(eventInfo.PointerPosition(i))
Next
Else
mTouches.Append(pos)
End If
Me.Invalidate
This code goes in the Paint event handler: