After drawing Shapes on a canvas How can one clear the canvas. lazarus / 31-LCL ---------------------------------------------------------------------- DenPit5 · 2018-12-16 15:46 I have tried 'Canvas.clear' but that is thrown out as an error.   I have searched all the documentation I know of but have not yet found an answer.  Can anyone Help ? ---------------------------------------------------------------------- Handoko · 2018-12-16 16:04 Please show us the code. Preferably the whole source code. Create a new folder, copy all the necessary files into the folder except: the binary (exe file), *.bak, lib and backup folders. Compress the folder and send the zip here. ---------------------------------------------------------------------- wp · 2018-12-16 16:19 FillRect the size of the control with the background color? ---------------------------------------------------------------------- jamie · 2018-12-16 18:31 Although I've never used the CLEAR method of the canvas, it does work for me on 1.8.4 Windersssss ---------------------------------------------------------------------- DenPit5 · 2018-12-17 17:36 Many thanks to all who answered with suggestions.  I have since found the answer after doing one or two possible commands trying different words I then tried 'repaint' and lo and behold it worked. !!!