TFPGObjectList.IndexOf
Index of item
Declaration
Source position: fgl.pp line 193
public
function IndexOf(const Item: T) : Integer;
Description
IndexOf returns the index of Item in the list, or -1 if the item does not appear in the list.
Errors
None.
See also
| Name | Description |
|---|---|
| TFPGObjectList.Add | Add new object of class T to the list. |
| TFPGObjectList.Insert | Insert a new object in the list |
| TFPGObjectList.Items | Indexed access to objects in the list. |