Show: Delphi
C++
Display Preferences
FMX.Types.TFmxObject.DeleteChildren
From XE2 API Documentation
Delphi
procedure DeleteChildren; virtual;
C++
virtual void __fastcall DeleteChildren(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TFmxObject |
Description
Deletes all the children of this FMX object.
DeleteChildren checks whether FChildren is assigned (children are present) and, if so, it deletes all of them. DeleteChildren also sets FChildren to nil.