Posted 8 September 2017, 3:08 pm EST
I am having problems with a my combobox custom cell type and the Change event not firing. I have attached my sample code in vb.net. We are using spread 5
<font size="2">I have simplified my code to </font>illustrate<font size="2"> the problem. I am inheriting a Windows Combobox rather than the spread combobox because that had other issues.</font>
<font size="2"></font><span style="font-size:10pt;">When I type into the combobox I want to drop down the list... Then when the user presses the Enter key I want it to exit edit mode and fire the Changed event. The problem is when the list is dropped down and I call StopEditing in the KeyUp event the spreads Change event doesn't fire. If the list isn't dropped down when I press the Enter key the Change event fires correctly. You can test this scenario by commenting out the line of code in the StartEditing sub.
Any idea why the Change event doesn't fire when the list is dropped down?
Thanks!<span style="font-size:10pt;"> </span>