To erase all the dots and lines drawn on a Canvas > call Canvas1.Clear That command 'erases' everything.
The Canvas control does not have an 'UnDo' function, so there is no way to back up and return to a previous state of the canvas unless you continually save
'images' of the canvas. You can however, change the 'painting' color. set Canvas1.PaintColor to the background color of the canvas. The background of the Canvas is initially white I believe.
So, it is possible you can 'erase' by set Canvas1.PaintColor to Canvas1.BackgroundColor. When you are done, set Canvas1.PaintColor to whatever you started drawing with.
Does that work?
Regards,
Steve