Iterate through the list starting at the current AnObject item, and for each item in the list call the TestFunc, passing in the item.
When the TestFunc returns true, the iteration stops and the method returns the item that it was processing.
Namespace: ListColl
Delphi |
public |
Parameters
AnObject
Type: TObject
TestFunc
Type: TFirstLastFunc
Type: TObject