Clear Canvas

Make a rect type with R as variable:
R:=Rect(0,0,Form,ClientWidth,Form.ClientHeight);
Canvas.Brush:=Color; color you want (Color is constant variable of the form)
Canvas.FillRect(R);

-----Original Message-----
Subject: D[2] How to clear the canvas of a from?
>
>I have funcation where I need to redraw my form. Before redrawing my form I
>want to clear it. So how does one clear the canvas of the form? Can anyone
>help me please.
----------