DoubleClick events in ListBox and ListViews

  • Thread starter Thread starter active
  • Start date Start date
A

active

DoubleClick seems to work OK with a ListBox.

However, with a ListView I never get the event fired.

I looked at both the LIstBox and ListView events and neither
lists the DoubleClick???

But IntellSense gives it as an option for both??

Any enlighten comments?


Thanks,
Cal
 
Hi,

Listviews do have the doubleclick event listed and it works just as you
would suppose. What version of vs .net are you using?

Bernie Yaeger
 
Well mine does,

List Box . . .

Private Sub List1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles List1.DoubleClick

End Sub

List View . . .

Private Sub ListView1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ListView1.DoubleClick

End Sub

Look Again ,

Regards - OHM
 
active said:
DoubleClick seems to work OK with a ListBox.

However, with a ListView I never get the event fired.

I looked at both the LIstBox and ListView events and neither
lists the DoubleClick???

I looked now and somebody added DoubleClick to my ListView Help!
Don't know what I was looking at last time.
I did have the filter set to something I never heard of - and forgot
already.

Anyway, now I just have to figure out why it doesn't fire. Knowing that it
should is a big help.

Thanks for both repliies,
Cal
 
Back
Top