Show: Delphi C++
Display Preferences

FMX.Controls.TControl.ClipParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ClipParent: Boolean read FClipParent write FClipParent default False;

C++

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

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

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

Personal tools
In Other Languages
Previous Versions
Assistance