Solved

VB.NET - ListView beeps when a letter-key is pressed - I want to cancel this behavior

Posted on 2008-06-11
3
492 Views
Last Modified: 2010-05-18
I have a listview that beeps whenever I hit letter keys on the keyboard. I believe this is because the listview is attempting to locate an item in the listview that starts with the letter of the key being pressed, and when an item is not found, it beeps.

This is rather annoying for the purpose that I'm using the listview.

Is there some way to cancel this behavior?

perhaps it may involve canceling the behavior of the listview that causes a key-press to locate an item that begins with that key's letter.

Any tips?

Thanks
0
Comment
Question by:oxygen_728
3 Comments
 
LVL 25

Expert Comment

by:apeter
Comment Utility
Might me override the event "Enter" or "Keyup" and do nothing inside the event.
0
 

Author Comment

by:oxygen_728
Comment Utility
It seems i might need to override every key-press and do-nothing for all key-presses on the listview.

how would i do that?
0
 
LVL 27

Accepted Solution

by:
planocz earned 500 total points
Comment Utility
HI
It sounds like you do not have the Listview setup rihgt
Check this link for a cool sample of a listview that I made.
You might be able to use or get some ideas on what to do next.

http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_23466629.html
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now