Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1170
Call the Leave event of an UltraComboEditor on the mouse click
posted

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?