buildComboboxOptionsList

Hi Clifton,
I've been struggling with this for a couple of hours and have now found a workaround. But I wonder, should it be as complicated as this?
The problem: in a TB single-select box I use buildComboboxOptionsList to do just that. No problem, the list is created. However if the listbox has a click action, it no longer functions: the lines are not selectable. It seems pretty fussy. It won't even tolerate a variable being defined for the click event. I want the selected line to be put into a variable. I can do this if I use setComboboxOption in a click event in a separate button but this complicates the process for the user. My workaround is to use userProperty and mouseEvents and then use the mouseup event in the single-select box. But is this the best way?
I've been struggling with this for a couple of hours and have now found a workaround. But I wonder, should it be as complicated as this?
The problem: in a TB single-select box I use buildComboboxOptionsList to do just that. No problem, the list is created. However if the listbox has a click action, it no longer functions: the lines are not selectable. It seems pretty fussy. It won't even tolerate a variable being defined for the click event. I want the selected line to be put into a variable. I can do this if I use setComboboxOption in a click event in a separate button but this complicates the process for the user. My workaround is to use userProperty and mouseEvents and then use the mouseup event in the single-select box. But is this the best way?