共用方式為


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]

Property Values

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

See Also

Paint Event | DataToClip Method | _CLIPTEXT System Variable

Applies To: Form Object | _SCREEN