Item Activate

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top