Icon Next Method

function Next(AObject: TObject; Wrap: Boolean=False): TObject

Available In: Client and Server Applications

Use this method to return the next object, relative to the object passed as the first parameter, in the list of managed objects. The Wrap parameter determines if the method should wrap around to the start of the list if the passed object is the last object in the list.
Image