Remove an object from the list.
Source position: fgl.pp line 201
public function TFPGObjectList.Remove( |
const Item: T |
):Integer; |
Item |
|
Object to remove from the list. |
Index of removed object, prior to removal.
Remove removes the object Item from the list, and returns the index of the removed item. If no item was removed, -1 is returned. Only the first object is removed.
If the list owns the objects, (TFPGObjectList.FreeObjects is set to True) then the object is freed.
None.
|
Index of item. |
|
|
Delete an item from the list. |
|
|
Does the list own the objects or not? |