TListView.GetNextItem bug/unexpected behaviour


If there's only one item in a ListView, and you try to step through
items (e.g. all selected items) with GetNextItem, the search will never
terminate if you use sdBelow as serach direction. The normal behaviour
of GetNextItem is to return new items until no more are found, in which
case nil is returned. In this case, however, GetNextItem will
continously return the first (and only) item in the ListView.

Tancred Lindholm <[email protected]>