[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ImgList' (#lcl)

# TCustomImageListResolutionEnumerator.MoveNext

Moves to the next image resolution for the enumerator.

## Declaration

Source position: imglist.pp line 259

`public function TCustomImageListResolutionEnumerator.MoveNext: Boolean;`

## Function result

True when another image resolution is available in the enumerator.

## Description

MoveNext is a Boolean function used to move to the next image resolution in the navigation order for the enumerator. MoveNext implements the method defined in the IEnumerator interface.

MoveNext uses the navigation order specified in the Create method to determine the index position for the next image resolution accessed in the enumerator. When reverse order was specified, the value in Current is decremented. When ascending order was specified, the value in Current is incremented.

The return value for the method is True when the new value for Current is a valid index position for the specified navigation order (in the range 0..Count-1).

## See also

TCustomImageListResolutionEnumerator.Current |  | The current image resolution for the enumerator.
TCustomImageListResolutionEnumerator.Create |  | Constructor for the class instance.