By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

Item Activate

P: n/a
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
Nov 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
"Mark" wrote:
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
Nov 15 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.