private void listBox1_KeyPress(object sender, KeyPressEventArgs e) { //Find the first item that starts with the keypressed, and set it to the top of the list listBox1.TopIndex =listBox1.FindString(e.KeyChar.ToString(), 0); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)