Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locating start in a combobox
#3
Code:
Copy      Help
private void findButton_Click(object sender, System.EventArgs e) {
    int index = comboBox1.FindString(textBox2.Text);
    comboBox1.SelectedIndex = index;
}


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)