Clears graphics and text from a form.
Object.Cls |
Remarks
Applies To: Form Object | _SCREEN
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.