Listbox Keypress

M

Markus

Hi,

is it possible to handle the Listbox KeyPress-Event?
I have tried it, but it didn't work, I never get a KeyPress-Event!!

Here's my C# code:
this.listBox1.KeyPress += new
System.Windows.Forms.KeyPressEventHandler(this.listBox1_KeyPress);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top