Partager via


Cls Method

Clears graphics and text from a form.

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.

See Also

Circle Method | CurrentX, CurrentY Properties | Line Method | Picture Property

Applies To: Form Object | _SCREEN