Jump to content

editable ComboBox


photo

Recommended Posts

Hi all,

 

I'd like to be able to enter text into a combo box and have the list that appears match the string that the user enters.  

 

I'm assuming there is no way to do this of-the-shelf?  Am I going to have to roll my own solution here?

 

If so then how would you recommend I go about this?  At the moment one way to do it is to have an edit box that manually sets the contents of an adjacent combobox, or possibly draw the editbox over the top of the combobox, changing the combox on each character entry.

 

Any ideas or suggestions would be welcome.

 

Thanks,

Simon

Link to comment

Hi Simon,

 

Currently, there's no way you can enable that logic in WidgetComboBox now, so you have to implement that functionality by hands.

 

WidgetComboBox + overlapped WidgetEditText could be a solution, however, you'll have to handle click events on combobox properly. Another solution could be a WidgetEditLine + WidgetButton for dropdown + overlapped WidgetEditText for items.

Link to comment
×
×
  • Create New...