FMX.Types.IRoot.InsertObject
Delphi
procedure InsertObject(Index: Integer; const AObject: TFmxObject);
C++
virtual void __fastcall InsertObject(int Index, TFmxObject* const AObject) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IRoot |
Description
Adds a specified object to the list of children, at a specified position.
AObject specifies the object to be inserted in the list of children.
Index specifies the position in the list of children where AObject is inserted.
Implement InsertObject in order to insert AObject at the Index in the list of children.
To remove an object from the list of children, implement the RemoveObject method.