I have a question about ComboBox
I have a question about comboBox.
Is there any public functions like a "SetCurSel" in MFC?
For those of us not familiar with MFC: what does that function do?
It is "Selects a string in the list box of a combo box".
So, like setCurrentIndex() does in [[doc:QComboBox]]? Your example is not very clear. If you want to select based on string, you'll have to use findText() first, and then use the returned index with the aforementioned setCurrentIndex().
Should be: setCurrentIndex()
That is what I want!! Thanks guys!!