function IndexOfObject(const AObject: TObject): Integer;
The index of the first item whose object is AObject, or -1.
| # | Name | Description |
|---|---|---|
| 1 | AObject | The object searched for; nil finds the first item without one. |
Returns: Integer - The item's index, or -1.