Item Activate

G

Guest

Can anyone tell me how to cause the ItemActivate event to fire when scrolling
through a ListView using the up/down buttons on the keyboard? Currently the
event only fires if mouse clicking a list view item.

Any help is most appreciated...

Thanks,
Mark
 
G

Guest

I think I figured it out. I checked the keyup event and if it was an up or
down/key, I called the click event. Does this sound right to you?

If e.KeyCode = Keys.Up Or e.KeyCode = Keys.Down Then
lstTemplates_Click(Me, e.Empty)
End If

Thanks,
Mark
 

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