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...
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 agree to website policy and terms of use
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?