I have a combobox with a leave event:
It always seems to be one step behind where I think it should be - when I first look at the combonbox it has its default value. I then type in some text ("Hello"), and move away. It displays the first text, not "Hello" as I want it to. DOes anyone know why?
Code:
private void comboBox2_Leave(object sender, System.EventArgs e)
{
MessageBox.Show("Text is "+comboBox2.Text);
}
It always seems to be one step behind where I think it should be - when I first look at the combonbox it has its default value. I then type in some text ("Hello"), and move away. It displays the first text, not "Hello" as I want it to. DOes anyone know why?