TComponentList.Extract function
Remove a component from the list without destroying it.
Declaration
function Extract(Item: TComponent): TComponentArguments
Item | The component to extract. |
Function result
The extracted component, or
Nil if none was found.
Description
Extract removes a component (
Item) from the list,
without destroying it. It overrides the implementation of
TObjectList so only
TComponent descendents
can be extracted. It introduces no new behaviour.
Extract returns the instance that was extracted, or
Nil if no instance was found.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
