Changing PopupMenu to ComboBox

Hi,

How can you change a popupmenu to a combobox programmatically, please?

For example, if someone wants to use the same control for both aspects during runtime.

Thank you:)

I believe you should probably have two widgets on the screen, one with .Visible = False. Flip the visibility flags as needed.

Short answer: you can’t. Put one of each and use Jeremy’s suggestion.