I have a combobox with two items: ABC and XYZ. If my current selection is "ABC" and the user switches to "XYZ", in myComboBox_Click event I ask, "Do you want to save the changes? - Yes, No, Cancel" (I want to display the prompt AFTER a selection has been made).
When Cancel is clicked, I'm trying to set the combobox to "ABC", but it doesn't work. I guess I shouldn't be doing this in the Click event, where then? When I tried coding this in myComboBox_Change, my code was not even fired.
Thanks.
When Cancel is clicked, I'm trying to set the combobox to "ABC", but it doesn't work. I guess I shouldn't be doing this in the Click event, where then? When I tried coding this in myComboBox_Change, my code was not even fired.
Thanks.