FMX.Types.IRoot.RemoveObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveObject(const AObject: TFmxObject); overload;
procedure RemoveObject(Index: Integer); overload;

C++

virtual void __fastcall RemoveObject(TFmxObject* const AObject) = 0 /* overload */;
virtual void __fastcall RemoveObject(int Index) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IRoot

Description

Defines the methods which remove an object from the list of children.

Implement the first overload in order to remove the specified AObject object from the list of children.

To add an object to the list of children, implement the AddObject method.

Implement the second overload in order to remove an object at the specified Index position from the list of children.

To insert an object to the list of children, implement the InsertObject method.

See Also