FindInstanceOf is an Integer function that returns the index of the first instance of AClass appearing after the AStartAt index position in the
Items array. If AExact is True, FindInstanceOf returns instances only of AClass itself, ignoring instances descendant classes. If no instance of the specified class is found, FindInstanceOf returns –1.