Hi Sam, You can use following code:
int index = listBox1.FindString(this.textBox1.Text);
if(0 < index)
{
listBox1.SelectedIndex = index;
listBox1.TopIndex = listBox1.SelectedIndices[0];
}
On textBox1_Click event:
textBox1.Select(textBox1.Text.IndexOf(textBox1.text), textBox1.Text.Length);
textBox1.Focus();
Hope it will help you.