Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
System32Int Error 8 56
Enable copy and pasting even when textbox is disabled 2 26
Showdialog 8 29
rebind a grid after user clicks on node in treeview 1 5
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

912 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

20 Experts available now in Live!

Get 1:1 Help Now