G
Guest
Hi, I have a comboBox set to also be editable. If I have code that is
something like:
cmbBox.Text = "Hello";
MessageBox.Show(cmbBox.Text);
The MessageBox will display just an empty string. I cannot figure this out.
The text "Hello" will be displayed in the combobox but it doesn't seem to
store the text. If I edit the box at runtime then it does store it correctly.
This is very important. It is the last bug I need to fix in my Project to
graduate, in which I am working with the Rolla Police Department. Thanks.
something like:
cmbBox.Text = "Hello";
MessageBox.Show(cmbBox.Text);
The MessageBox will display just an empty string. I cannot figure this out.
The text "Hello" will be displayed in the combobox but it doesn't seem to
store the text. If I edit the box at runtime then it does store it correctly.
This is very important. It is the last bug I need to fix in my Project to
graduate, in which I am working with the Rolla Police Department. Thanks.