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
110
UltraPopupControlContainer
posted

I have custom dropdown control which is basically an UltraTextEditor with a DropDownEditorButton containing a windows ListBox. It also under certain conditions will instead show an UltraPopupControlContainer which contains a different ListBox. It all works fine, except in one specific case.

If you click somewhere else on the form, either the normal ListBox or the popup ListBox will close, as is desired and expected. However, if you switch windows without clicking the form, such as using the windows taskbar or show desktop or any other method, the DropDownEditorButton is smart enough to close its dropdown, but the UltraPopupControlContainer will remain awkwardly visible and functional on top of whatever is now the active application.

I couldn't find a property on either UltraPopupControlContainer or on ListBox to explain this phenomenon. Is there a way to fix this?

Thanks