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!
Hi,
It's not the dropdown that's taking focus in this case, it's the control on the DropDown. The UltraCalculatorDropDown gets around this because what you see on the dropdown are not actually controls and therefore do not take focus.
I don't know of any way to stop the UltraWinTree from taking focus and still have it function.
For version 9.2, I tried just a System.Windows.Forms.Panel without anything in it to take focus, and the parent form still loses focus.