ClipControls Property

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]

Return Value

  • 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.

Remarks

Applies To: Form Object | _SCREEN System Variable

See Also

Reference

Paint Event

DataToClip Method

_CLIPTEXT System Variable

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)