TWebPainBox and touch events on html template

Hi,
I prepared example program, which you can download from:
https://appmaster.pl/tms

When you use TWebPaintBox object using html template events onTouchMove and OnTouchStart do not start.

When you use TWebPaintBox without html template all is ok.

Why?


Regards,

You cannot map a TWebPaintBox on a DIV.
Solution: use a TWebHTMLDiv and map this on the DIV in your template and put the TWebPaintBox in this TWebHTMLDiv.
Modified project is here:

http://www.tmssoftware.net/public/PaintboxPaint.zip 

Ok ... thank you very much for example.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.