We have several projects that utilize UltraComboEditor. Everything works fine under both 6.2 and 6.3. When we upgrade to versions 7.x the behavior of the control goes off. Normally, if you click on the arrow, the dropdown stays expanded. Now, as soon as you click, the dropdown flashes open for less than a second, then immediately collapses.
Is there any kind of trick to upgrading the project to 7.x that resolves this?
We tried versions 7.1, 7.2 and 7.3 all with and without recent hotfixes. Nothing seems to work
Hi Eric,
Have you tried putting a new UltraCombo on a form? Does the same problem occur with new combos or only existing ones?
Either way, what I would recommend in order to track down why this is happening it to put a breakpoint in the AfterCloseUp event of the Combo. Then click the DropDown arrow. When the event fires and the breakpoint is hit, you can look at the call stack and see what series of events is causing the combo to close.
If you can post the call stack here, I'd be happy to take a look at it.
We did some additional digging, and think we might know the issue.... can you help us confirm whether this is the case?
The apps we are buiding live inside of a shell which is a cutom windowing implementation. It appears that the ultracomboreditor checks to see if it has lost focus and closes itself if it does. How it performs this check is to see if the form is standalone. If the form is not standalone, it assumes that the form is a child window in an MDI window that its parent property will be set. In our case, we are neither standalone or MDI. So the control can't find a parent form to determine focus and it assumes that it has lost focus and closes the dropdown.
Does this ring true? Any suggestions for what we can do short of changing our application container / windowing model?