My enviroment: windows NT4.0, delphi 5,
Here is my code
var ListItem: TListItem;
ListItem := ListView1.Selected;
while assigned(ListItem) do
ListItem := ListView1.GetNextItem(ListItem, sdBelow,
I'm only selecting one row in listview1. if the listview1's row count
larger than 1, then after one loop, listitem is nil. but if there is
only one row in the listview, after one loop, ListItem is still the
only row that was selected.
Does i do something error or it's a bug?