ListView Select Removing SelectedItem
-
When a user Clicks on an area of the listview that is not an item, the listview loses the selecteditem. How would I prevent this. Thanks in advance for assistance.
-
When a user Clicks on an area of the listview that is not an item, the listview loses the selecteditem. How would I prevent this. Thanks in advance for assistance.
You'd have to derive a class from the listview, I would guess.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
When a user Clicks on an area of the listview that is not an item, the listview loses the selecteditem. How would I prevent this. Thanks in advance for assistance.
You can reselect it in the
SelectedIndexChanged
event, or theClick
/MouseClick
/MouseDoubleClick
events.Regards:rose: