Icon IndexOf Method

function IndexOf(AObject: TObject): Integer

Available In: Client and Server Applications

Use this method to return the index of a particular object in the list of managed objects.
Image