Hi. Is there a way to add choices to a combo box after it has been created?
I've created combo box that lists several choices. The final option in the list is to add more choices. Afterwards, I'd like to update the choices given in the combo box to include the new choice. I'd also like the user to be able to continue adding choices this way, if they choose.
I've looked into deleting the combo box and creating a new one using the updated list if the user selects the "add" choice, but that only works as many times as I can nest If clauses, and as I said, I'd like the user to be able to repeat this as many times as they like. I tried using a recursive function to create a combo box, then if the "add" choice was selected, update the list of choices, delete the combo box, and recursively call the same function. So far that's failed badly. In general, combo boxes and functions do not seem to cooperate for me (I keep getting "name unresolved" errors).
Is there a simpler way to do what I'm trying to accomplish? Perhaps not even using combo boxes? Thanks.