Solved

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

Posted on 2008-06-11
3
502 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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