Clears graphics and text from a form.
Syntax
Object.Cls
Remarks
Cls clears text and graphics generated at run time with graphics and printing statements. Background bitmaps created using the Picture property and controls placed on the form at design time are not affected by the Cls method.
The Cls method resets the CurrentX and CurrentY properties to 0.