In the German forum, we discuss currently the following problem.
You can download the example code (CanvasTest.zip) in this post:
http://www.b4x.com/forum/german-forum/14629-activity_touch-puffer-loeschen-2.html#post83193
Using a Canvas are randomly drawn some circles. Through gestures to the left or right, the graphic is redrawn.
But while the graph is drawn, none of the gestures should be processed.
Now the following happens:
The first time the chart represents the gestures are not processed. That is right.
Wipe it now several times to the left or right, then the graph is also drawn multiple times. It is processed thus a buffer, although this is not desired.
If you press "reset" the graph is redrawn, and when you wipe now over the screen, the gestures are not processed.
Why is this so?
What must be done so that while the graphics output, none of the gestures are recorded?
Sky
You can download the example code (CanvasTest.zip) in this post:
http://www.b4x.com/forum/german-forum/14629-activity_touch-puffer-loeschen-2.html#post83193
Using a Canvas are randomly drawn some circles. Through gestures to the left or right, the graphic is redrawn.
But while the graph is drawn, none of the gestures should be processed.
Now the following happens:
The first time the chart represents the gestures are not processed. That is right.
Wipe it now several times to the left or right, then the graph is also drawn multiple times. It is processed thus a buffer, although this is not desired.
If you press "reset" the graph is redrawn, and when you wipe now over the screen, the gestures are not processed.
Why is this so?
What must be done so that while the graphics output, none of the gestures are recorded?
Sky