Start touch and finish touch event Delphi

  

I implement simple painting application in Delphi FMX for Windows pc with touch screen.

I am looking for a function which is invoked directly after the first touch on the screen and similar function invoked after finishing the touch. Very close to MouseDown and MouseUp and using TControl.Pressed.

I tried to use mouse functions but unfortunately, many windows touch screens do not send this event after touching the screen (some of them do).

I also tried Tap function but it is called only if you do not drag a finger over the screen.

Finally, I wanted to use TGestureManager but it seems to focus on just Gestures like zoom, rotate, etc.

Is there any other option to achieve my goal?

Comments are closed.