Show: Delphi C++
Display Preferences

FMX.Types.TFmxObject.AddObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddObject(const AObject: TFmxObject);

C++

void __fastcall AddObject(TFmxObject* const AObject);

Properties

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

Description

Adds the AObject object to the Children list of children attached to this parent object (self).

AddObject internally calls DoAddObject that implements all business functionality of AddObject.

AddObject adds the object provided in the AObject parameter to the list of children stored in the Children property of this object (self). AddObject changes the parent of AObject to this object (self) and sets the root of AObject to the Root object of this object (self).

Descendant classes, like TCommonCustomForm and TControl, additionally handle tab stop lists keeping ordered lists of objects to which the user can tab. If such descendant class supports the ITabStopController interface and AObject is an object of a class supporting the IControl interface, then AddObject of this descendant adds AObject to the TabList tab stop lists of the (self) object.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance