I would like to have a dropdown list that is editable. The list I have is a list of existing xml tags. I have a script that creates new xml tags and I would like to include the now existing tag names and the ability to create new names.
If a dropdown list cannot be made editable I can always create two fields, one a dropdown list, the other a textEditbox. But I'd like to just have one.
In scriptUI that's possible, but in the "classic" dialog model (i.e. the one that defines dialogs using "app.dialogs.add ()") I don't think you can.
Hmmmm...I thought I was using ScriptUI, but I now see in the ScriptUI Classes that there is an element called "ListItem" that appears to foot the bill. It appears that one can add to its drop down list.
I'm not sure I want to rewrite what I have in "classical" just to eliminate an extra field. It is working fine now. Maybe next time I'll experiment with this.
One more thing: there are various types of ComboBoxes in the "classical" mode that do allow the user to add additional items to a drop down list but these can only be numbers, not text.