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
145
DropDownEditorButton steals focus from parent form
posted

I want to create a "combo box" that lets the user select from an UltraTree. The infragistics WinEditors samples contain an example of doing this using UltraTextEditor and an DropDownEditorButton. The only problem with this example is that whenever the control drops down, it causes the containing form to lose focus. I want the form to maintain focus just like it would with an ordinary combo box. This can be partially achieved by setting the AutoFocus property of the DropDownEditorButton to False, but as soon as you click on the UltraTree it steals the focus again. Is there any way to create a drop down control that does not steal focus from the parent form when clicked? I know it is theoretically possible, UltraCalculatorDropDown achieves it. Thanks for your help!

Parents Reply Children
No Data