Determines whether graphics methods in Paint events repaint the entire object or only newly exposed areas. Also determines whether the graphical operating environment creates a clipping region that excludes nongraphical controls contained by the object. Available at design time and run time.
Object.ClipControls[ = lExpr]
The settings for the ClipControls property are:
(Default) Graphics methods in Paint events repaint the entire object. A clipping region is created around nongraphical controls on a form before a Paint event.
Graphics methods in Paint events repaint only newly exposed areas. A clipping region is not created around nongraphical controls.