ClipControls Property

Applies To   See Also

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.

Syntax

Object.ClipControls[ = lExpr]

Settings

lExpr

The settings for the ClipControls property are:

Setting Description
True (.T.) (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.
False (.F.) Graphics methods in Paint events repaint only newly exposed areas. A clipping region is not created around nongraphical controls.