FMX.Types.IControl.AcceptsControls
Delphi
property AcceptsControls: Boolean read GetAcceptsControls write SetAcceptsControls;
C++
__property bool AcceptsControls = {read=GetAcceptsControls, write=SetAcceptsControls};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IControl |
Description
Specifies whether the control accepts child controls at design time in the form editor.
AcceptsControls is True if the control accepts child controls, and False otherwise. By default, AcceptsControls is True. The FireMonkey controls that do not accept child controls should set AcceptsControls to False in their constructor, using the SetAcceptsControls method.