DoubleClick events in ListBox and ListViews

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
 
B

Bernie Yaeger

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
 
O

One Handed Man

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
 
A

active

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top