Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listview and mouse click events

Status
Not open for further replies.

NatHunter

Technical User
Aug 17, 2001
51
0
0
GB
I am upgrading a project from VB6 to vb.NET - I am replacing the old VB6 listviews with .NET equivalents. All is going according to plan so far apart from the fact that the click and double click (_Click and _DblClick) events of my listview do not seem to be firing - I've added a breakpoint to the first line of each event and the debugger never even gets there.

Can someone enlighten me please?!

Thanks in Advance

Paul
 
The problem is that VB.NET uses double_Click and the VB6 listviews use dbl_click. Just had to cut and paste code from the old dbl_click to the new double-click event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top