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?
Hi,
I'm not entirely sure I understand what you are describing. Can you provide a small sample project demonstrating the issue so I can check it out?
Hi, is there a solution for this problem?
I am using V11.1, and when I open 2 MDI dialogs, the combo boxes of the last opened dialog are working fine, but these of the first opened dialog will drop down very shortly and collapse within a second.
Thanks in advance.
I'm experiencing the same behavior, here's my stack trace:
Infragistics2.Win.UltraWinEditors.v8.1.dll!Infragistics.Win.UltraWinEditors.UltraComboEditor.FireAfterCloseUp(System.EventArgs e) + 0x22 bytes
Infragistics2.Win.UltraWinEditors.v8.1.dll!Infragistics.Win.UltraWinEditors.UltraComboEditor.OnAfterCloseUp(System.EventArgs args) + 0xb bytes
Infragistics2.Win.UltraWinEditors.v8.1.dll!Infragistics.Win.UltraWinEditors.UltraComboEditor.OnAfterCloseUp(object sender, System.EventArgs args) + 0xe bytes
Infragistics2.Win.v8.1.dll!Infragistics.Win.EmbeddableEditorBase.OnAfterCloseUp() + 0x23 bytes
Infragistics2.Win.v8.1.dll!Infragistics.Win.EditorWithCombo.OnAfterCloseUp() + 0xe bytes
Infragistics2.Win.v8.1.dll!Infragistics.Win.EmbeddableEditorBase.CloseUp() + 0x45 bytes
Infragistics2.Win.v8.1.dll!Infragistics.Win.EditorWithCombo.Infragistics.Win.IValueListOwner.OnCloseUp() + 0x13 bytes
Infragistics2.Win.v8.1.dll!Infragistics.Win.ValueListDropDown.OnCloseUp(bool closeDropDownManager) + 0x6d bytes
Infragistics2.Win.v8.1.dll!Infragistics.Win.ValueListDropDown.OnAutoCloseUpTimerTick(object sender, System.EventArgs e) + 0x5f bytes
System.Windows.Forms.dll!System.Windows.Forms.Timer.OnTick(System.EventArgs e) + 0x17 bytes
System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x34 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg = 275, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes
I doubt there is anything you could do to the Combo to change this behavior. There are certainly no properties exposed that affect this.