[Overview][Types][Classes][Procedures and functions] |
Remove a component from the list, possibly destroying it.
Source position: contnrs.pp line 106
public function TComponentList.Remove( |
AComponent: TComponent |
):Integer; |
AComponent |
|
Component to remove from the list |
The index of the removed instance
Removeremoves itemfrom the list, and if the list owns it's items, it also destroys it. It returns the index of the item that was removed, or -1 if no item was removed.
Removesimply overrides the implementation in TObjectListso it only accepts TComponentdescendents. It introduces no new behaviour.
None.
|
Remove a component from the list without destroying it. |
|
|
Remove (and possibly free) an element from the list. |