Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to implement a solution for the issue which i ask in the subject.

I was firing the event listView1_SelectedIndexChanged, but it doesn't work properly when press the same row more than one time.

Best regards
Posted

I have no experience with the Compact FrameWork, but I believe that if you define an EventHandler for the Click Event, or the MouseDown Event: that event will get fired every time you click on the Row.

It's hard to imagine any version of .NET, and any .NET Control, would not provide that functionality, but, if the Compact FrameWork ListView does not, I will delete this response.

One thing I always find valuable to do, if I have any doubt about in what order various mouse-related Events fire with while using a Control, is to define EventHandlers for all the Events of interest, and write a message to either the Console, or to a TextBox.
 
Share this answer
 
Comments
CPallini 18-Dec-13 10:23am    
5.
 
Share this answer
 
Comments
CPallini 18-Dec-13 10:23am    
5.
Maciej Los 18-Dec-13 10:24am    
Thank you, Carlo ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900