If I am thinking correctly, there should be a void attached to the action, like:
void CComboBox::comboboxTest_change(void) { comboboxTest.Select(comboboxTest.Vale()); Print(comboboxTest.Value()); }
But missing still missing something here...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Something that should be straight forward is giving me an butt-pain. I am trying to make the simplest combobox option with switchable items. And succeeded until it comes to the OnEvent part.
So here is my code:
All actually works fine, but the OnEvent doesn't catch the item selection after the dropdown menu.
In the ComboBox.mqh we have:
I believe that It's those events that I am missing? But that's a wild guess, as I believe it should work correctly.
Anyone has an idea of what's wrong here?