G
Guest
I need a little help here, I have a list view that may contain only a few
items. If the size of the listview is larger then what I need to hold the
items, and then the user click on whitespace, how can maintain that an item
must be selected? Currently in the MouseDown Event I .GetItem(e.X, e.Y) and
check to see if it is null, if it is then I set the last item in the list to
item.selected=true. Unfortunately, the SelectedIndexChange event is firing 3
times and the last time it fires no item is selected. Any thoughts?
items. If the size of the listview is larger then what I need to hold the
items, and then the user click on whitespace, how can maintain that an item
must be selected? Currently in the MouseDown Event I .GetItem(e.X, e.Y) and
check to see if it is null, if it is then I set the last item in the list to
item.selected=true. Unfortunately, the SelectedIndexChange event is firing 3
times and the last time it fires no item is selected. Any thoughts?