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
405
Stop the utlraComboEditor from closing on click
posted

 I would like to make the combo stay open when the user clicks on an item on the list.  It would then close when the combo lost focus.

 

  • 405
    posted

     Thanks for the help!

     

  • 469350
    Verified Answer
    Offline posted

    There's no way to do this with UltraComboEditor. It will always automatically close when an item is clicked. 

    An alternative might be to create your own combo control. What you would do is use the UltraTextEditor and add a DropDownEditorButton to the ButtonsRight collection. Then you can assign a control of your choice to this button. The dropdown could be anything you want, but if you want a simple list, you could use the UltraListView, UltraTreeView, or UltraWinGrid. 

    This will give you a dropdown control that does not close up until it loses focus (or until you call the CloseUp method on the button).