From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property ClipParent: Boolean read FClipParent write FClipParent default False;


__property bool ClipParent = {read=FClipParent, write=FClipParent, default=0};


Type Visibility Source Unit Parent
property public
FMX.Controls TControl


Specifies whether the current control has clipped its parent.

When ClipParent is True, TControl cuts off the portion of the parent that lies under the control when the control is painted by the Paint and Painting methods. Parts of the control that do not contain visible objects cut off holes in the parent's image.

ClipParent is ignored in PaintChildren and other painting methods.

If one parent has more that one child control having ClipParent equals True, then only one of these child controls is painted with ClipParent equals True. Others child controls are painted as if ClipParent equals False.

See Also