Hi,
I have the following scenario.
I have an UltraComboEditor, say cmb1, that is bound to a data source. There are other controls in my form that get the values according the text in the cmb1. I am rebinding the DataSource to cmb1 every time the text changes in it. When I press the Tab or Enter key on the keyboard, the control leaves cmb1 and when Leave event of cmb1 is called, other controls on my form get populated according to the text in cmb1. Everything is fine up to this point. I face the problem when I use the mouse to leave cmb1. I have to click twice on the form to call the leave event of the ComboEditor. Is there any way to call the leave event of cmb1 when the mouse is clicked?
Hello Rajivd,
Thank you for reaching out.
The first click is ignored while the dropdown closes up. Clicking a second time after will fire the leave event. The AfterCloseUp event will suite your needs without having to click twice to handle your logic needed.
For more details please refer to our online docs here:
http://help.infragistics.com/doc/WinForms/2014.2/CLR4.0/?page=Infragistics4.Win.UltraWinEditors.v14.2~Infragistics.Win.UltraWinEditors.UltraComboEditor~AfterCloseUp_EV.html
Let me know if you have any questions regarding this matter.