Paint

This event occurs when an object is exposed after being moved, resized, or covered by window.

Syntax

Private Sub object_Paint( )

Parameters

object
Object expression that evaluates to a control or Form object.

Remarks

In general, avoid using a Paint event procedure for tasks that initiate a Paint event.