Search for an instance in the list.
Source position: contnrs.pp line 117
public function TComponentList.IndexOf( |
AComponent: TComponent |
):Integer; |
AComponent |
|
Instance to look for. |
Index of the found instance.
IndexOf searches for an instance in the list and returns it's position in the list. The position is zero-based. If no instance is found, -1 is returned.
IndexOf just overrides the implementation of the parent class so it accepts only TComponent instances. It introduces no new behaviour.
None.
|
Search for an object in the list. |