When I launch a form as a dialog and click a combo box on the form and without selecting any items, I click anywhere else in the form, the form is closed automatically. What events are triggered by this that caused the form close? Is there any good way to look in it?
There really shouldn't be anything done in the UltraCombo by default that would cause the containing form to close. What events are you handling? Are you perhaps calling "this.Close()" instead of trying to close the dropdown on the combo?
-Matt
Forgot to mention that the UserControl is associated to an UntraTextEditor, which is also a dropdown box. So is it possible that the closeup was sent to this dropdown box, instead of the one on Form B?
If so, can I force the dropdown box of the UntraTextEditor to keep dropped down and cannot be closed up by any events? In that case, will the closeup message be sent correctly to Form B?
subchap said:Forgot to mention that the UserControl is associated to an UntraTextEditor, which is also a dropdown box.
Ah, that's a very important detail. :)
What version of the controls are you using? There was a bug that could be causing this issue.The bug was basically that when you close one dropdown, it was closing all dropdowns in which it was contained. This bug was fixed a while ago, though.
You should download the latest Hot Fix and see if that helps.
If not, you should try to duplicate the issue in a small sample project and Submit an incident to Infragistics Developer Support
subchap said:Do you have a general idea on when the bug was fixed? Also, where can I find the detailed description of the bug?
I'm afraid I don't have any specifics. I'm going by a vague recollection here. If I had to guess, I would say it was about a year ago or more.
You can get the latest Hot Fix here: My Infragistics Keys and Downloads - Download Anything and Everything You Own
subchap said:It is weird, though, that the problem only occurs when clicking mouse. If I hit tab when the dropdown box is open, everything is fine and only that box is closed up.
Actually, I believe the bug I am thinking of was related to the form getting focus. So this could very well be the same issue.
subchap said:Another question: can I force a DropDownEditorButton to keep dropped down and discard any closeup events for a period of time?
No, there's no way to do that.
Do you have a general idea on when the bug was fixed? Also, where can I find the detailed description of the bug? It seems that your description fits mine very well.
It is weird, though, that the problem only occurs when clicking mouse. If I hit tab when the dropdown box is open, everything is fine and only that box is closed up.
The hotfix version we're using is 7.1.20071.1055.
Another question: can I force a DropDownEditorButton to keep dropped down and discard any closeup events for a period of time?