Solved

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

Posted on 2008-06-11
3
496 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 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