Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27526

VS 2010 ListView.MouseClick Event 'Area' Issue

$
0
0
Dear friends, I have an issue on raising the MouseClick event of a Listview Control.

Code:

Private Sub Listview_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListView1.MouseClick

'Code

End Sub

The problem is that the event is only raised when I click in the area of the very first item of the first column. Btw Listview.view=Details. This seems so odd as to why it happens. I need to expand this area to the whole area of the listview. Can anybody help?

Viewing all articles
Browse latest Browse all 27526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>