FMX.ListBox.TCustomComboBox.DoAddObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoAddObject(const AObject: TFmxObject); override;

C++

virtual void __fastcall DoAddObject(Fmx::Types::TFmxObject* const AObject);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox TCustomComboBox

Description


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

FMX.ListBox.TCustomComboBox.DoAddObject inherits from FMX.Types.TFmxObject.DoAddObject. All content below this line refers to FMX.Types.TFmxObject.DoAddObject.

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

DoAddObject adds the object provided in the AObject parameter to the list of children stored in the Children property of this object (self). DoAddObject 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 DoAddObject of this descendant adds AObject to the TabList tab stop lists of the (self) object.

DoAddObject is internally called from AddObject.

See Also