Solved

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

Posted on 2008-06-11
3
499 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
ID: 21762530
Might me override the event "Enter" or "Keyup" and do nothing inside the event.
0
 

Author Comment

by:oxygen_728
ID: 21771712
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
ID: 21774084
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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