How can I clear drop list combo box?
-
I can clear drop down combo box with m_comboBox.SetSel (0,-1); m_comboBox.Clear (); but I can't clear drop list combo box ! How can I do this ? emroz
-
I can clear drop down combo box with m_comboBox.SetSel (0,-1); m_comboBox.Clear (); but I can't clear drop list combo box ! How can I do this ? emroz
-
m_comboBox.ResetContent(); delete all content and m_comboBox.DeleteString(ndx); delete one string. I don't wanna delete any string. I just wanna make null. emroz
-
I can clear drop down combo box with m_comboBox.SetSel (0,-1); m_comboBox.Clear (); but I can't clear drop list combo box ! How can I do this ? emroz
-
m_comboBox.ResetContent(); delete all content and m_comboBox.DeleteString(ndx); delete one string. I don't wanna delete any string. I just wanna make null. emroz
Emre Zorlu wrote: I just wanna make null. Which makes no sense in this context. If you are not wanting to remove any items from the control, what are you wanting to do? If you simply want to add an empty string to the control, use
AddString("")
.