The value_changed and SelectedIndexChanged events are triggered when the selected item is different. But this occurs when you navigate with the Up and Down arrows, before ENTER is pressed.
Is there a way to trigger a sub (value_change or any other sub), only when the ENTER key is pressed on a combobox?
There are related posts about this, but I can't make any suggestions work for a combobox.
I'll take a look, thanks Erel. The purpose was to be able to press ENTER in the History Listbox, in the Sqlite Repl project, and bring the selected item into the Prompt.
But I found a cleaner way, still using the Listbox to store and retrieve the items, but keeping the event code in the Prompt.